Module-Info

 view release on metacpan or  search on metacpan

t/lib/Foo.pm  view on Meta::CPAN


sub wibble {
    package Wibble;
    $foo = 42;
    return 66;
}

wibble('this is the function call');
{ no strict 'refs'; &{'wibble'}('this is a symref function call'); }
Foo->wibble(42);
{ local @ARGV = (bless {});  shift->wibble(42); }
my $obj = bless {};
$obj->wibble('bar');
my $method = 'wibble';
Foo->$method;
$obj->$method;
$obj->$method('bar');
Foo->$method('bar');
{
    no strict 'subs';
    $Foo::obj = bless {};



( run in 0.520 second using v1.01-cache-2.11-cpan-95122f20152 )