Help for this page

Select Code to Download


  1. or download this
    % perl -E '*Some::Module::foo = sub { say "hello" }; Some::Module::foo
    +()'
    hello
    
  2. or download this
    % perl -E 'say Some::Module->can("can")'
    
  3. or download this
    % perl -E '*Some::Module::foo = sub { }; say Some::Module->can("can")'
    + 
    CODE(0x259d370)
    
  4. or download this
    % perl -E '*Some::Module::foo = sub { say "far out man!" }; say Some::
    +Module->can("can")->("Some::Module", "foo")->()'
    far out man!
    1