On Sat, Nov 13, 2010 at 05:43:21AM -0500, Uri Guttman wrote: > >>>>> "MM" == Mike McClain <mike.j...@nethere.com> writes:
> MM> Could someone tell me why there is a comma printed after the newline? > because you put it there. the \n is input to the map, not the print! > map's last arg is a list and it takes @list AND anything else after > it. you need to either put the map in parens or make it a func like call > like this: map( "$_,", @list ) so it can't eat the \n. > uri Slapping forehead as the light dawns I have to say, "Thanks, Uri." -- Satisfied user of Linux since 1997. O< ascii ribbon campaign - stop html mail - www.asciiribbon.org -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/