Prakash wrote: > > When an array is interpolated withing a string, it is printed as if > 'join'ed > by a space. I don't know why but somehow I thought by setting $/ to > "\n", > the array returned by grep would be printed on separate lines. When interpolated into a string, arrays are joined with $" which by default is a space. Also consider the $, variable, which is what print uses to "join" its arguments. John Porter ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe