in reply to Hashes or arrays in the command line

You aren't using a hash, but a regular array. What you probably want is in File::Copy.

use File::Copy; my @FILES = ('file1', 'file2'); copy( "/home/wbill/lazarus/$_", '.' ) foreach (@FILES);

----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

: () { :|:& };:

Note: All code is untested, unless otherwise stated