Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Neil Woodlock on May 30, 2002, 09:25:48 PM

Title: Perl Script
Post by: Neil Woodlock on May 30, 2002, 09:25:48 PM
I am adjusting the console perl script all going OK but I can't seem to get it to run an external script. I have use chmod 755 on the script file.
My currrent line reads 'system("/bin/bash", "/bin/script".) but I am now at a lost.
Can anyone help? please.....
Title: Re: Perl Script
Post by: Neil Woodlock on June 04, 2002, 09:03:35 PM
Found this great site and was able to write a script to do what I wanted.

http://www.perldoc.com/perl5.6/pod/perlfunc.html