"be consistent" | |
PerlMonks |
Re: sed command with variable in perlby ww (Archbishop) |
on Aug 14, 2017 at 20:07 UTC ( [id://1197381]=note: print w/replies, xml ) | Need Help?? |
Short version (it's all I have time for): don't. Use regexen. When you're using perl, shelling out is an expensive and unnecessary option in most cases. It looks as tho you should read about regexen -- and specifically, substitution -- in a tutorial right here; that is, in the Tutorials section.
In Section
Seekers of Perl Wisdom
|
|