Tony Esposito wrote: > Does tr/'\n'/' '/ do the same as tr/'\n'/' '/g? ( replace newline with space > ) > If so, is one preferred over the other?
Neither of the above is correct. The correct forms are: tr/\n/ /; s/\n/ /g; -- Just my 0.00000002 million dollars worth, Shawn Programming is as much about organization and communication as it is about coding. I like Perl; it's the only language where you can bless your thingy. Eliminate software piracy: use only FLOSS. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/