Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: Trouble Exporting a Function

by Rich36 (Chaplain)
on Mar 13, 2003 at 18:27 UTC ( #242780=note: print w/replies, xml ) Need Help??


in reply to Re: Trouble Exporting a Function
in thread Trouble Exporting a Function

However you should really put everything below (and including) the line package CART::Validate into a file of it's own (i.e Cart/Validate.pm in one of the paths in @INC) and then your use statement will work fine.

That's actually what I've done and what's causing me problems. The code for CART::Validate is in a separate file. Sorry for the confusion.


«Rich36»

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2021-04-13 08:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?