in reply to RFC: Simulating Signatures
in thread RFC: Simulating Ruby's "yield" and "blocks" in Perl
Just asking a small question here...
How is
sub test { sig my $x, my $y , \@opt; }
Any better than
sub test { my ( $x , $y ) = @_; }
Don't get me wrong, I understand you add a few extra features to the first thing. But the user will have to learn/do extra syntax, without getting regular signature syntax like other C languages have. Besides these don't offer signatures in the true sense.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: RFC: Simulating Signatures
by LanX (Saint) on Apr 23, 2013 at 15:10 UTC |
In Section
Meditations