in reply to Re: File::Copy a bug?
in thread File::Copy a bug?

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^3: File::Copy a bug?
by Roger (Parson) on Aug 18, 2005 at 13:52 UTC
    Where did you get THAT idea from? You only have to use File::Copy once in your script at the top.

Re^3: File::Copy a bug?
by radiantmatrix (Parson) on Aug 18, 2005 at 15:37 UTC

    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