Does anyone happen to know why this doesn't work as expected?
perl -e '$_="1\n";s/\Z/2/g;print' Why does it print "2" twice? Assuming I have to leave the /g modifier in there, how can I prevent this? TIA. - Bryan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>