Concerning the system command: The environment of the webserver usually is different from that of the ordinary user:
Try executing your Perl programme in the shell of the webserver's user on the target machine and see what happens.
That's closer to what's supposedly to happen, when you execute the code via the webpage.
Now, not concerning the system command, but compiling and running snippets of C code in Perl, you should take a look at Inline::C.
Cheers, Sören
In reply to Re: How to use system command in perl script?
by Happy-the-monk
in thread How to use system command in perl script?
by littlefishr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |