0

Im trying to call another perl file from within a perl program.

I have been told it's

system("file.pl");

but this doesnt seem to work

2
Contributors
2
Replies
3
Views
5 Years
Discussion Span
Last Post by MCLASS80
0

What do you expect file.pl to do when called that it doesn't seem to do? Do you want control to return to your calling script after the file.pl finishes or just to terminate, or to call another script? Since what someone told you about system didn't work, have you had a look at perldoc -f system?

0

What do you expect file.pl to do when called that it doesn't seem to do? Do you want control to return to your calling script after the file.pl finishes or just to terminate, or to call another script? Since what someone told you about system didn't work, have you had a look at perldoc -f system?

Hi, thanks for your input. I discovered that the file i wanted to call had a typo which is why is wasnt working.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.