Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: where to use "use" and package

by thunders (Priest)
on Aug 01, 2002 at 15:23 UTC ( [id://186803]=note: print w/replies, xml ) Need Help??


in reply to where to use "use" and package

placing a package in the same file as your main program is not really different than defining the package in another file. Had you put the package in a separate file it would be obvious why you couldn't copy, because you never imported the copy method from File::Copy.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2024-04-20 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found