Subject: | Optional positional Code parameter fails when used in method call |
use Dios;
class Scratch {
method foo(Code $x, Undef|Code $y?) {
}
}
my $s = Scratch->new;
$s->foo(sub{}); # OK
$s->foo(sub{}, sub{}); # Fails
--
-Jeff Ober
This queue is for tickets about the Dios CPAN distribution.
The Basics
People
|
Bug Information
|