I want to run a perl file2 from a main perl file1. what function do I use?.. do .. require.. ???
Also, I want to check if the file2 ran successully or not and exit from the main perl file1 and report the error to a log if the execution of the file2 failed?
How do I capture that error message?
any ideas.
thanx
-bcd
Also, I want to check if the file2 ran successully or not and exit from the main perl file1 and report the error to a log if the execution of the file2 failed?
How do I capture that error message?
any ideas.
thanx
-bcd