Tanalis has asked for the wisdom of the Perl Monks concerning the following question:
I have a module, Book::Reader, in which I'm attempting to call a sub.
However, calling &Book::Reader::getData causes Perl to die with an "Undefined Subroutine" error, despite the fact that it's both defined and exported.
I realise I'm probably making some stupid mistake, but it's early morning and I can't think ..
Any suggestions would be appreciated.
Cheers
--Foxcub
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Calling a sub in a Module
by Zaxo (Archbishop) on Oct 23, 2002 at 09:14 UTC | |
by Tanalis (Curate) on Oct 23, 2002 at 09:29 UTC | |
by broquaint (Abbot) on Oct 23, 2002 at 09:49 UTC | |
by chromatic (Archbishop) on Oct 23, 2002 at 18:19 UTC | |
by lestrrat (Deacon) on Oct 23, 2002 at 09:50 UTC | |
by Tanalis (Curate) on Oct 23, 2002 at 10:08 UTC | |
|
Re: Calling a sub in a Module
by broquaint (Abbot) on Oct 23, 2002 at 09:15 UTC |