Here is what I am trying to do.
cgi script 1, creates a web page dynamically depending on certain attributes of an external file.
I want my second cgi script to be able to "call" the first one, execute it and funnel the STDOUT into a namspace within the second file, to be included in that files STDOUT.
IE:
Expand|Select|Wrap|Line Numbers
- #!/usr/bin/perl -T
- use strict;
- use warnings;
- use CGI;
- $| =1;
- print header;
- my $thing = `results from output of other cgi script`;
- my $q = new CGI;
- print $q->p('some stuff',
- "$thing");