Help for this page

Select Code to Download


  1. or download this
    package Foo;
    use AutoLoader qw(AUTOLOAD);
    1;
    __END__
    sub a {print "a\n" }
    
  2. or download this
    use Foo;
    a();
    
  3. or download this
    Can't locate auto/Foo/autosplit.ix in @INC (@INC contains:
     /usr/local/lib/perl5/5.8.1/darwin-thread-multi
    ...
     .) 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.