sub xxx { my $class = shift; my $args = ($#_ == 0) ? { %{ (shift) } } : { @_ };
NB: not my own work.
dave hj~
In reply to Re: OO sub, hash or hash reference.
by dash2
in thread OO sub, hash or hash reference.
by IOrdy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |