Help for this page

Select Code to Download


  1. or download this
    package Class::Definition;
    
    ...
    }
    
    1;
    
  2. or download this
    use Class::Definition;
    
    sub TEST : DEFINITION('whatever') {}
    
  3. or download this
    use warnings;
    use strict;
    ...
            PUBLIC:     pub_mt1 pub_mt2 pub_mt3
    
    );
    
  4. or download this
    Invalid CODE attribute:   pub_mt1 (
    
    ...
    
    ) at attrtest.pl line 6
    BEGIN failed--compilation aborted at attrtest.pl line 18.
    
  5. or download this
    use warnings;
    use strict;
    ...
    
        ATTRIBUTES:
    );
    
  6. or download this
    Invalid CODE attribute:
     INITION(
    ...
            ATTRIBUTES:
    ) at attrtest.pl line 6
    BEGIN failed--compilation aborted at attrtest.pl line 9.