Help for this page

Select Code to Download


  1. or download this
     # common, clean, readable, OO-ish way
     $foo->bar ( 'bash' );
    
     # less common, probably less readable, way
     Foo::bar ( $foo, 'bash' );
    
  2. or download this
    # from 5.6.1's Socket.pm on Linux 2.4
    sub AUTOLOAD {
    ...
        eval "sub $AUTOLOAD () { $val }";
        goto &$AUTOLOAD;
    }
    
  3. or download this
    package MessageLibrary;
    use ...
    ...
    }
    
    1;