Help for this page

Select Code to Download


  1. or download this
    sub Foo::_print { print shift }
    
  2. or download this
    my $_print;
    *Foo::_print = sub { $_print = shift };
    is($_print, $expected, "Foo::_print output the correct data");