Help for this page

Select Code to Download


  1. or download this
    package Foo;
    sub foo();
    ...
    package Bar;
    our @ISA = qw(Foo);
    sub new { bless[] }
    
  2. or download this
    $b = new Bar;
    $b->foo();
    
  3. or download this
    $sub = $obj->can('foo');
    # $sub references the sub that would be called if you
    ...
    # ...a bit later...
    #
    $obj->$sub(@args); # same as $obj->foo(@args);
    
  4. or download this
    $meth = 'foo';
    $obj->$meth(@args); # same as $obj->foo(@args)
    
  5. or download this
    $"=$,,$_=q>|\p4<6 8p<M/_|<('=>
    .q>.<4-KI<l|2$<6%s!<qn#F<>;$,
    .=pack'N*',"@{[unpack'C*',$_]
    }"for split/</;$_=$,,y[A-Z a-z]
             {}cd;print lc