Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

9 lines (7 sloc) 0.203 kB
use v6;
use Test;
plan 2;
my &foo := eval('sub {432}',:lang<perl5>);
is foo(),432,"calling subs works";
my $foo = eval('sub {432}',:lang<perl5>);
is $foo(),432,"calling subs stored in variables works";
Jump to Line
Something went wrong with that request. Please try again.