You can do like so:
NOTE:use warnings; use strict; for my $cmd(qw(ls ipconfig)){ system("$cmd"); }
In reply to Re: Run multiple shell commands on the same perl script
by 2teez
in thread Run multiple shell commands on the same perl script
by Daral
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |