In function there is a way to denote number of parameters (eg)
Is there is a way to denote the type of parameters too ? Like 1st argument should be scalar and 2nd argument should be array.sub callmeth($$){ $arg_method=shift; @arg_meth=shift; }
Regards
perl_devel
In reply to Parameters to functions by perl_devel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |