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

#!perl
use strict;
use warnings FATAL => 'all';
use Test::More tests => 2;
use Function::Parameters qw(:lax);
fun empty ($x) {}
is scalar empty(1), undef, "empty func returns nothing (scalar context)";
is_deeply [empty(1,2)], [], "empty func returns nothing (list context)";
__END__