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 {};

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.975 second using v1.00-cache-2.02-grep-82fe00e-cpan-c9a218a2bbc )