![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
Removing leading whitespace from a file?by Anonymous Monk |
on Jul 09, 2002 at 04:25 UTC ( #180403=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello fellow monks!
This is a simple question but since I am new here, I felt inclined to ask ( after 5 attempts ). How do I remove leading whitespace from every line in a file then 're-write' the 'new' version back? My 5th attempt is here:
Warning: This sample does not work. Thank you, Alicia
Back to
Seekers of Perl Wisdom
|
|