Don't ask to ask, just ask | |
PerlMonks |
Re: Simple or notby almut (Canon) |
on Apr 06, 2009 at 14:38 UTC ( [id://755740]=note: print w/replies, xml ) | Need Help?? |
I do have problems with the last \s since I need my \n Maybe you could explicitly match spaces in the replacement (instead of whitespace). Or chomp off the newline first and then append it back on when you're done with the whitespace -> tab substition. If I understood the problem correctly, that is...
In Section
Seekers of Perl Wisdom
|
|