Module-Info

 view release on metacpan or  search on metacpan

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

18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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 2.575 seconds using v1.01-cache-2.11-cpan-95122f20152 )