Where did you get THAT idea from? You only have to use File::Copy once in your script at the top.
| [reply] [d/l] |
You read too much into the SYNOPSIS section. There are merely two examples there, one which imports just the copy subroutine, and one which imports the cp alias for it. This is common in CPAN documentation -- the examples often show multiple different ways of using the module.
I suggest you learn a bit about the mechanics of Perl before writing any production code. For example, if you already understood what use does, you'd have realized that you need it only once in a script.
<-radiant.matrix->
Larry Wall is Yoda: there is no try{} (ok, except in Perl6; way to ruin a joke, Larry! ;P)
The Code that can be seen is not the true Code
"In any sufficiently large group of people, most are idiots" - Kaa's Law
| [reply] |