in reply to Building modules, my mental block
Do you perhaps mean sub auth {?
You probably should check that your module can compile; try $ perl -cw path/to/Mymodules/Auth.pm. Of course, I'd expect Perl to give you an error message along those lines, so I suspect you haven't posted the exact code or error output. Perhaps that would help us diagnose the trouble.
Update: Ah, you're not shifting off the package name when you call the packaged sub as a class method!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Building modules, my mental block
by neilwatson (Priest) on Apr 19, 2004 at 20:19 UTC | |
by chromatic (Archbishop) on Apr 19, 2004 at 21:07 UTC | |
|
Re: Re: Building modules, my mental block
by neilwatson (Priest) on Apr 19, 2004 at 20:05 UTC |