tux242 has asked for the wisdom of the Perl Monks concerning the following question:
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 .`;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Hashes or arrays in the command line
by hardburn (Abbot) on Nov 20, 2003 at 18:26 UTC | |
|
Re: Hashes or arrays in the command line
by EvdB (Deacon) on Nov 20, 2003 at 18:25 UTC | |
by EvdB (Deacon) on Nov 20, 2003 at 18:29 UTC | |
by tux242 (Acolyte) on Nov 20, 2003 at 18:47 UTC | |
by EvdB (Deacon) on Nov 20, 2003 at 19:02 UTC | |
|
Re: Hashes or arrays in the command line
by Limbic~Region (Chancellor) on Nov 20, 2003 at 18:26 UTC |