http://qs321.pair.com?node_id=1030031


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.