Perl Monk, Perl Meditation | |
PerlMonks |
Re: Shell Commands executed in perl scriptby g_kon (Initiate) |
on Jan 04, 2008 at 17:50 UTC ( [id://660442]=note: print w/replies, xml ) | Need Help?? |
For some obscure reason, Shell.pm quotes apostrophes (') and backslashes (\) on UNIX, and spaces and quotes (") on Windows.
If you set $Shell::raw to true no quoting whatsoever is done, so the only remaining thing to do is to negate the special meaning of characters ',{,},$ inside the awk statement.
To be consistent here is an example of what you have to do:
In Section
Seekers of Perl Wisdom
|
|