Help for this page

Select Code to Download


  1. or download this
    package MyPackage;
    use base qw( Exporter );
    ...
    sub foo { print 'foo' }
    
    1;
    
  2. or download this
    #!perl
    
    ...
    MyPackage::bar(); # prints 'bar'
    bar(); # Generates compile-time warning: 
           # Undefined subroutine &main::bar called at export.pl line 7.
    
  3. or download this
    perl -e 'split//,q{john hurl, pest caretaker}and(map{print @_[$_]}(joi
    +n(q{},map{sprintf(qq{%010u},$_)}(2**2*307*4993,5*101*641*5261,7*59*79
    +*36997,13*17*71*45131,3**2*67*89*167*181))=~/\d{2}/g));'