Forum: Perl Feb 20th, 2009 |
| Replies: 3 Views: 2,117 If you execute your script at ~>Parse.pl a b c
you get the command line values in the @ARGV array which you can run through in a loop. |
Forum: Perl Feb 20th, 2009 |
| Replies: 2 Views: 714 $cmd = 'df -h';
exec { $cmd };
You can also use the system() function in perl. |