in reply to Trouble Exporting a Function

broquaint brings up an interesting point (in a /msg), is there a CART/Validate.pm in your @INC? Why are you inlining the module then? (if you really are inlining it). Try adding `print $INC{'CART/Validate.pm'};' and if you get a value, edit that file ... also, see what the use function is all about (`perldoc -f use')


MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests.
** The Third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re: Re: Trouble Exporting a Function
by Rich36 (Chaplain) on Mar 13, 2003 at 18:20 UTC

    I'm sorry about that - I guess I should have been more explicit. Cart::Validate is a different file. I've got two files:

    /path/path/modtest.pl
    /path/path/lib/CART/Validate.pm
    

    modtest.pl is pathed correctly to CART::Validate (using "use lib './lib';") to the module since I can get the version number out. Thanks for taking the time to help with this.


    «Rich36»