Forum Moderators: coopster & phranque

Message Too Old, No Replies

perl pgm with perl

perl within perl

         

patotoole

9:18 pm on Jan 28, 2005 (gmt 0)



Hello.
I'm a perl novice writign a routine to dynamicly
shoot out webpages. Since I know you cant parse
the output for SSI...my .cgi is doing SSI work
itself...

EXCEPT..what happens when I read a line of code
that says to execute another .cgi (say to run a counter routine)..

I want to be able to run this 2nd .cgi and
send its output and then contine on...

can you run a perl within a perl?

help! :)

lexipixel

7:48 am on Jan 29, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month




Look up (Perl) "Use" or "Require".

rocknbil

7:35 pm on Jan 29, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



$output = `$program_name $args`;
$output = qx¦$program_name $args¦;

$args is only needed if you pass data to the program.