Module-Info
view release on metacpan or search on metacpan
t/lib/Foo.pm view on Meta::CPAN
181920212223242526272829303132333435363738sub
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 )