mr_ayo has asked for the wisdom of the Perl Monks concerning the following question:
Quick explanation:#! c:\perl\bin\perl.exe $| = 1; use strict; my ($message,$date,$week,$file); $date = "04/28"; $week = "4"; $message = "\n****** Player Update ******\n"; $message .= `perl z:\\scripts\\baseball\\players.pl`; $message .= "\n****** Stat Download ******\n"; $message .= `perl z:\\scripts\\baseball\\stats1.pl $date`; $message .= "\n****** Weekly Stats Update ******\n"; $message .= `perl z:\\scripts\\baseball\\stats2.pl $week`; $message .= "\n****** Standings Update ******\n"; $message .= `perl z:\\scripts\\baseball\\stats3.pl`; $file = $date."OUTPUT"; if (-f $file) { open(DATA, ">>$file"); } else { open(DATA, ">$file"); } print DATA $file; close(DATA); exit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Problems with perl script calling perl scripts
by perlmonkey (Hermit) on Apr 29, 2000 at 10:16 UTC | |
by ergowolf (Monk) on Apr 29, 2000 at 17:04 UTC | |
by mr_ayo (Beadle) on May 05, 2000 at 05:44 UTC | |
|
Re: Problems with perl script calling perl scripts
by chromatic (Archbishop) on Apr 30, 2000 at 06:10 UTC | |
by mr_ayo (Beadle) on May 01, 2000 at 21:49 UTC | |
|
Re: Problems with perl script calling perl scripts
by Anonymous Monk on Apr 29, 2000 at 04:38 UTC | |
|
RE: Problems with perl script calling perl scripts
by mr_ayo (Beadle) on May 24, 2000 at 21:59 UTC |