I am having a hard time trying to get my hash of files to copy to work with the code below I actually wanted for the path and the files names to be dumbed down to variables if possible. Thanks.
#! /usr/bin/perl use strict; use warnings; my @FILES = ('file1',' file2'); `cp /home/wbill/lazarus/@FILES .`;
In reply to Hashes or arrays in the command line by tux242
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |