"Hubert Ian M. Tabug" wrote:
> 
> Hi,
> 
>         Given that I have a perl script main.pl, and I want main.pl to "use/call" 
>the script >testprog.pl, and store testprog.pl's output into a variable that can be 
>used within main.pl. >How do I go about doing it? Your help would be greatly 
>appreciated.


it's not possible for you to import the code with use/require?
if not use
my $output = `perl testprog.pl`;

/Jon

> 
> Thanks,
> Hubert

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to