Help for this page

Select Code to Download


  1. or download this
    # Abstract class for consideration
    #   name() and doit() are a base class object methods.
    ...
    
       return(1);
    } # doit
    
  2. or download this
    # Test module derived from Foo.
    
    ...
              __PACKAGE__, $obj->name(), $obj->table_name();
       return( 1 );
    } # abc_func
    
  3. or download this
    # Test module
    
    ...
              __PACKAGE__, $class;
       return( 1 );
    } # base_func
    
  4. or download this
    # Test module
    
    ...
              __PACKAGE__, $obj->name(), $obj->table_name();
       return( 1 );
    } # xyz_func
    
  5. or download this
    #!/usr/bin/perl -w
    
    ...
    # calls of static methods
    XyzBase->base_func();
    Xyz->base_func();
    
  6. or download this
    Local function for Abc -- my name is Fred, my table is ABC_TABLE
    Local function for Xyz -- my name is Ethel, my table is XYZ_TABLE
    ...
    Table for XyzBase is unknown, database is Foobase
    Local function for XyzBase, called from XyzBase
    Local function for XyzBase, called from Xyz