develooper Front page | perl.perl5.porters | Postings from December 2015

subroutine signatures aliases feature

Thread Next
December 10, 2015 22:05
subroutine signatures aliases feature
Message ID:
Subroutine signatures is an excellent feature, but possibility to make
aliases is very needed.

For example:

sub ( $a, \$b, \@c ), where:

$a – will be a copy of $_[0];
$b – will be a alias for $_[1];
@c – array or aliases ($_[2] .. $#_ )

This will allow to make code much more clear and readable.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About