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
In reply to Calling a sub in a Module by Tanalis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |