From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more
123456789101112131415161718 #!perluse strict;use warnings FATAL => 'all';package Foo;use Test::More "no_plan";use Function::Parameters qw(:strict);method foo( $arg) { return $arg}is( Foo->foo(23), 23 );
#!perl
use
strict;
warnings
FATAL
=>
'all'
;
package
Foo;
Test::More
"no_plan"
Function::Parameters
qw(:strict)
method foo(
$arg
)
{
return
}
is( Foo->foo(23), 23 );