> > I need some help badly on this slight technicality > > I am facing. I am reading every line of input > > into a scalar variable, spllitting on null, to get > > every character into an array, and then splicing. > > When I print the array elements of interest, a > > space is appended to the input. Please help!!! > > I believe the print command prints a space between > list elements by default. You could always try > something like this: > > foreach(@left){ > print F1 $_; > }
Use either: print join "", @array; or: local $" = undef; # Doesn't seperate values with a space Jonathan Paton __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]