in reply to Re: Calling a sub in a Module
in thread Calling a sub in a Module
# Code where sub is defined: use Exporter(); my @ISA = qw/Exporter/; my @EXPORT = qw/&getData/; sub getData { # do stuff # return a hash } # Package declarations - none, that I'm aware of. Never # had this problem before, using &Reader::getData and the # like. # Failing call: use Book::Reader; my $hashref = &Book::Reader::getData;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Calling a sub in a Module
by broquaint (Abbot) on Oct 23, 2002 at 09:49 UTC | |
by chromatic (Archbishop) on Oct 23, 2002 at 18:19 UTC | |
|
Re: Re: Re: Calling a sub in a Module
by lestrrat (Deacon) on Oct 23, 2002 at 09:50 UTC | |
by Tanalis (Curate) on Oct 23, 2002 at 10:08 UTC |