in reply to Problem passing a string in system function
I see no obvious reason why it shouldn't work. You may try using the multiple arguments version of system, though. From perldoc -f system:
If there is only one scalar argument, the argument is checked for shell metacharacters, and if there are any, the entire argument is passed to the system's command shell for parsing
But while we're here I feel like repeating the (now) daily question: why don't you make mycode.pl into a real module?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problem passing a string in system function
by Anonymous Monk on May 19, 2006 at 14:22 UTC | |
by HuckinFappy (Pilgrim) on May 19, 2006 at 15:19 UTC | |
by DaWolf (Curate) on May 20, 2006 at 08:44 UTC |