Nesh has asked for the wisdom of the Perl Monks concerning the following question:
use strict; use warnings; my $sec; my $min; my $hour; ($sec, $min, $hour) = localtime();
I am trying to call it from another perl program
#!usr/bin/Perl use strict; use warnings; my $results=`perl stime.pl`; print $results;
It does not show me the output. Please guide me where I am going wrong.
20050215 Janitored by Corion: Added code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Calling many perl scripts from one master perl script
by Tanktalus (Canon) on Feb 14, 2005 at 23:33 UTC | |
by Nesh (Beadle) on Feb 15, 2005 at 00:10 UTC | |
by LassiLantar (Monk) on Feb 15, 2005 at 03:16 UTC | |
|
Re: Calling many perl scripts from one master perl script
by cognizant (Pilgrim) on Feb 16, 2005 at 07:35 UTC |