in reply to Development with Autoloader
in thread Filepointer of source file inside source filter
and a program:package Foo; use AutoLoader qw(AUTOLOAD); 1; __END__ sub a {print "a\n" }
I get the following error:use Foo; a();
which indicates to me you must install your module before you can test it. Maybe you don't get an error if you've already installed a module that way, but then you're not running the development version, but the installed version!Can't locate auto/Foo/autosplit.ix in @INC (@INC contains: /usr/local/lib/perl5/5.8.1/darwin-thread-multi /usr/local/lib/perl5/5.8.1 /usr/local/lib/perl5/site_perl/5.8.1/darwin-thread-multi /usr/local/lib/perl5/site_perl/5.8.1 /usr/local/lib/perl5/site_perl .) at /usr/local/lib/perl5/5.8.1/AutoLoader.pm line 160. at Foo.pm line 3 Undefined subroutine &main::a called at x line 2.
Or are we talking about different things, as you are talking about "Autoload" and I'm talking about AutoLoader?
Liz
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Development with Autoload
by cbraga (Pilgrim) on Oct 05, 2003 at 18:59 UTC |