The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!perl
use strict;
use warnings FATAL => 'all';
use Test::More tests => 4;

use Function::Parameters qw(:strict);

my @methods = (method { 1 }, method { 2 }, method { 3 });
is(scalar @methods, 3);

isa_ok($_, 'CODE') for @methods;