in reply to Re^6: RFC: Junction.pm
in thread RFC: Junction.pm
return $true if (($self->{type} eq 'none') && scalar @{$true} == +0) or (($self->{type} eq 'all') && scalar @{$false} == +0) or (($self->{type} eq 'any') && scalar @{$true} != +0) or (($self->{type} eq 'one') && scalar @{$true} == +1);
Also, @EXPORT should become @EXPORT_OK. I may want to import all(), but I already have an any() I don't want you to clobber.
Lastly - you gonna release this or attempt to patch Perl6::Junction? The number of tests for this is going to be quite ... impressive. :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: RFC: Junction.pm
by eric256 (Parson) on May 04, 2005 at 15:25 UTC | |
by fireartist (Chaplain) on May 04, 2005 at 15:40 UTC | |
by dragonchild (Archbishop) on May 04, 2005 at 15:48 UTC | |
by fireartist (Chaplain) on May 05, 2005 at 08:18 UTC | |
by eric256 (Parson) on May 05, 2005 at 14:29 UTC |