Perl x Open Food Facts Hackathon: Paris, France - May 24-25 Learn more

#!perl
use strict;
use warnings FATAL => 'all';
# Importing always affects the currently compiling scope.
package Foo;
use Test::More 'no_plan';
BEGIN {
package Bar;
Function::Parameters->import;
}
is( Foo->foo(42), 42 );
method foo ($arg) {
return $arg;
}