Don't ask to ask, just ask | |
PerlMonks |
Re: sed isn't working within a perl scriptby Corion (Patriarch) |
on Oct 19, 2012 at 09:05 UTC ( [id://999885]=note: print w/replies, xml ) | Need Help?? |
You will need to modify your string and properly quote the backslash so that it gets passed correctly to the shell. I recommend the following approach:
You will see that your single backslashes did not get passed through to the sed command. You will need to double them.
In Section
Seekers of Perl Wisdom
|
|