in reply to Call one Perl Script from another
I urgently need some help!!
Well quite about everybody here is likely to, but saying so doesn't generally help. Well, at least you didn't include the remark in the Subject, which is terribly annoying and likely to be eventually counter-productive.
I am trying to call a Perl script from another and capture the exit status (whether it was successful). How should I go about it? Please help....
Does the answer change if the thing were not necessarily a Perl script, but a generic program? No! Thus I recommend you to read perldoc -f system, which seems the most viable solution, in absence of further info.
Since the program to be called is a Perl script, there may actually be better strategies than plainly using system, but if you don't give further details, it's hard to say...
|
|---|