my $args = {}; $args->{my_obligatory_arg} = 'present' if .5 < rand 1; my_sub($args);
In reply to Re: How to make script die with "Not enough args" on compilation step if args are passed as a hash ref? See inside
by choroba
in thread How to make script die with "Not enough args" on compilation step if args are passed as a hash ref? See inside
by Doctrin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |