Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Module Creation and Function Call

by Riales (Hermit)
on Mar 19, 2012 at 18:21 UTC ( #960455=note: print w/ replies, xml ) Need Help??

in reply to Module Creation and Function Call

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 }

Comment on Re: Module Creation and Function Call
Select or Download Code
Replies are listed 'Best First'.
Re^2: Module Creation and Function Call
by girish_01 (Initiate) on Mar 20, 2012 at 06:11 UTC
    yeah i got it..

    thanks girish

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://960455]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2015-11-28 02:48 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (737 votes), past polls