kpofcochin has asked for the wisdom of the Perl Monks concerning the following question:
Hi there,
Can we call system command from a cgi file?
I have a perl utility file ABC that works perfectly when called from CLI. I wanted to make it more generic; so made the variables as arguments and trying to get invoked from a web page.
so i will be collecting variable X and Y from user thru a web page and want to call the utlity ABC with arguments X and Y from a web page. i.e on a button click.
I tried system command and backtick but they are not working.
any other alternative is there? since its a webpage, am not able to see error/warning messages .
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to call system commands from cgi file?
by hippo (Archbishop) on Jun 25, 2015 at 19:51 UTC | |
by kpofcochin (Initiate) on Jun 26, 2015 at 12:26 UTC | |
|
Re: how to call system commands from cgi file?
by tangent (Parson) on Jun 26, 2015 at 00:42 UTC | |
|
Re: how to call system commands from cgi file?
by Corion (Patriarch) on Jun 26, 2015 at 06:53 UTC | |
|
Re: how to call system commands from cgi file?
by roboticus (Chancellor) on Jun 26, 2015 at 11:11 UTC | |
by kpofcochin (Initiate) on Jun 26, 2015 at 12:25 UTC | |
by kpofcochin (Initiate) on Jun 26, 2015 at 13:36 UTC | |
by roboticus (Chancellor) on Jun 26, 2015 at 15:57 UTC | |
|
Re: how to call system commands from cgi file?
by jeffa (Bishop) on Jun 26, 2015 at 19:35 UTC |