in reply to How to pass form data from a CGI script to its child process?
I surely would have to write code which encodes the form data for the command line (all character sequences which might be treated specially by the shell would have to be transformed), and the form data might be very long, even longer than the maximum length which is allowed for a command line.
You could use CGI
and reading itSAVING THE STATE OF THE SCRIPT TO A FILE: $query->save(\*FILEHANDLE)
so when you use the list form of system, system $^X, 'scriptB.pl', 'some/file/something';my $q = CGI->new(\*IN);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to pass form data from a CGI script to its child process?
by Nocturnus (Beadle) on Sep 05, 2012 at 07:31 UTC |
In Section
Seekers of Perl Wisdom