in reply to Re^6: Reg exp questions
in thread Reg exp questions

So finally, $str =~ s/\n/ /g; removes \n. Does it remove EOF, too?

removes \n ... replaces \n by a blank.

And no, it has no effect on the EOF character.

Cheers, Sören

Créateur des bugs mobiles - let loose once, run everywhere.
(hooked on the Perl Programming language)