Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: where to use "use" and packageby thunders (Priest) |
on Aug 01, 2002 at 15:23 UTC ( [id://186803]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|