Try either of the following approaches:
#!/usr/local/bin/perl use CGI qw(:all); print header; print "in cgi2.cgi<BR>"; $i = param('i'); print $i;
#!/usr/local/bin/perl use CGI; $query = CGI->new; print $query->header; print "in cgi2.cgi<BR>"; $i = $query->param('i'); print $i;
Update: $CGI -> CGI in the second code example.
In reply to Re: How to pass a parameter between cgi's?
by dragonchild
in thread How to pass a parameter between cgi's?
by JaredF
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |