Or, better yet, use open() instead.$INVALID_STRING = quotemeta q<!"$\%&'()*/@`~>; $STRING_TO_EXECUTE = "java myprogram -opt1 ABC -opt2 $INVALID_STRING";
In reply to Re: Error using back tick operators if it has special perl chars in it
by japhy
in thread Error using back tick operators if it has special perl chars in it
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |