in reply to Re: Perl module symbol import versus direct invocation
in thread Perl module symbol import versus direct invocation
Okay, but for instance there isn't a new method in the Date::Calc object. Wouldn't it have to auto-instantiate the object before it could call methods on itself? If it's passing a reference, what is it passing a ref to, if no object has been created?
jaybonci@starlite:~/perl$ perl -MDate::Calc -e 'my $foo = new Date::Ca +lc;' Can't locate auto/Date/Calc/new.al in @INC (@INC contains: /etc/perl / +usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 /usr/lib/perl5 / +usr/share/perl5 /usr/lib/perl/5.8.0 /usr/share/perl/5.8.0 /usr/local/ +lib/site_perl .) at -e line 1
|Replies are listed 'Best First'.|
Re^3: Perl module symbol import versus direct invocation
by robartes (Priest) on Feb 26, 2003 at 08:03 UTC
In Section Seekers of Perl Wisdom