The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

#!/usr/bin/perl
# THIS IS AN INTERFACE TESTING SCRATCHPAD
# I just want to see how things will look if I do things different ways
my $bean = Beancounter->new();
my @Ordered = (
#[ name method args ],
[ required => sub { .... } => $hash ],
[ optional => optional_fields => $hash ],
[ inside => in_number => $hash ],
[ outside => ex_number => $hash ],
);
$bean->lint( \@Ordered );
my $results = $bean->apply(
\%input,
\@Ordered,
);
$bean->explain( \@Ordered );
my $results = $bean->apply( \@Ordered, \%input )
$results = [
#[ name result message ]
];