Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: File::Copy a bug?

by moked (Beadle)
on Aug 18, 2005 at 13:49 UTC ( [id://484762]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://484762]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-25 10:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found