sachin_chat has asked for the wisdom of the Perl Monks concerning the following question:
the code looks like this:
what i want isin script1.pl .......... system("perl script2.pl"); ..........
here by condition i mean that only for the first time when i execute script1.pl script2.pl should be called and then after it should noy be called , every time if i call script1.plin script1.pl ..... if ( some condition) { system("perl script2.pl"); }
Edited by Chady -- code tags and minor formatting
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: conditional calling of script from other script
by jpk236 (Monk) on Feb 04, 2005 at 05:05 UTC | |
by sachin_chat (Initiate) on Feb 04, 2005 at 05:32 UTC | |
by bgreenlee (Friar) on Feb 04, 2005 at 06:32 UTC | |
by jpk236 (Monk) on Feb 04, 2005 at 05:57 UTC | |
|
Re: conditional calling of script from other script
by chanakya (Friar) on Feb 04, 2005 at 05:06 UTC | |
|
Re: conditional calling of script from other script
by deibyz (Hermit) on Feb 04, 2005 at 11:41 UTC |