Help for this page

Select Code to Download


  1. or download this
    ...if an AUTOLOAD subroutine is defined in the package or
    packages used to locate the original subroutine, then that
    ...
    name of the original subroutine magically appears in the
    global $AUTOLOAD variable of the same package as the
    AUTOLOAD routine
    
  2. or download this
    # the following code throws a compile time error
    package TestPackage;
    ...
    sub AUTOLOAD {
        print $AUTOLOAD, " is not available\n";
    }