Journal of a Girl in IT
Thoughts, comments, opinions of 20-something working in IT striving to be a house-proud homemaker
Thursday, February 17, 2011
Call perl script fom other perl script
$syscommand = "/root/dir_name/shell/fileName.pl";
print STDERR "Running fileName.pl\n";
$ret = system($syscommand);
if ($ret != 0){
print STDOUT "Error running fileName.pl\n";
exit(-1);
}
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment