in reply to Re: Calling many perl scripts from one master perl script
in thread Calling many perl scripts from one master perl script

Thanks a lot for the prompt reply. Here suppose say that the first file has one more line
print ("$hour\:$min\:$sec");
then it will print the current time (eg 16:4:50) on the screen when ran. But I want the same thing to be printed by the second program when it calls the first program and stores it in $results. I am very new to perl so all the mistakes. Thanks for correcting all those.
  • Comment on Re^2: Calling many perl scripts from one master perl script

Replies are listed 'Best First'.
Re^3: Calling many perl scripts from one master perl script
by LassiLantar (Monk) on Feb 15, 2005 at 03:16 UTC
    I don't see any problem with it at this point. Prints out correctly for me, unless I'm missing something throught the lack of code tags. What's a code tag, you say? Simple. It's an html tag that says <code > (without the trailing space). Surround your blocks of code in code tags (Writeup Formatting Tips) so that the output looks like:
    #!/usr/bin/perl use strict; use warnings; my $results = `perl stime.pl`; print $results;
    Cheers, LassiLantar