You're getting the 'too many arguments' error because you're defining the Configchk subroutine with prototypes and when you call it with the ampersand, you circumvent prototypes. Change the subroutine definition to this:
sub Configchk { &a=$_[0]; @arr_iVPU_standard=$_[1]; @arr_iVPU_current=$_[2]; blah blah blah }
In reply to Re: Module Creation and Function Call
by Riales
in thread Module Creation and Function Call
by girish_01
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |