For future reference, if I do have to pass something to the shell, but I need to be sure it will not blow up due to characters special to the shell, I do:
my $thingy = "...."; $thingy =~ s/'/'"'"'/g; my $cmd = "womble womble '$thingy' wibble wibble";
In reply to Re: Shell characters coming back to bite me.
by JavaFan
in thread Shell characters coming back to bite me.
by mull
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |