Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Perl substitution not workingby muba (Priest) |
on Jun 21, 2012 at 00:53 UTC ( [id://977525]=note: print w/replies, xml ) | Need Help?? |
The actual reason you aren't substituting properly is that you are printing @L1, but that array never gets modified by your substitution which acts on $line. Not true:
In Section
Seekers of Perl Wisdom
|
|