If you want to do a sanity check try doing this:
foreach my $this_server ( @SERVERS ) { my $command = "cp $path/$this_server/etc/passwd ."; warn "Will execute '$command'\n"; # system ($command); # uncomment when ready. }
--tidiness is the memory loss of environmental mnemonics
In reply to Re: Re: Re: Hashes or arrays in the command line
by EvdB
in thread Hashes or arrays in the command line
by tux242
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |