in reply to Re^2: Safely passing CGI form data to a shell command
in thread Safely passing CGI form data to a shell command
:(
I can't get around this error and stfw and rtfm is yielding no help.
Can someone help me decipher the error message I'm getting? It's apparently fatal.
Oh, and by the way. I've realized now that system() and exec() are useless to me as neither returns the output of my command. Duhhhhhh.
from http://perldoc.perl.org/functions/system.html
The return value is the exit status of the program as returned by the wait call. To get the actual exit value shift right by eight (see below). See also "exec". This is not what you want to use to capture the output from a command, for that you should use merely backticks or qx// , as described in "`STRING`" at perlop. Return value of -1 indicates a failure to start the program (inspect $! for the reason).
Code:
my(@call) = system($call);Error:
Insecure dependency in system while running with -T switch
-- Tommy Butler, a.k.a. Tommy
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Safely passing CGI form data to a shell command
by Tanktalus (Canon) on Apr 21, 2005 at 19:53 UTC | |
by Tommy (Chaplain) on Apr 21, 2005 at 22:56 UTC |