use Carp; ... sub mysub { croak "Too many arguments for mysub" if @_ > $limit; ... }
In reply to Re: Limit number of Sub routine argument list
by zwon
in thread Limit number of Sub routine argument list
by ganeshwari
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |