Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: passing multiple hashes to a subroutine

by Anonymous Monk
on Oct 19, 2011 at 12:17 UTC ( #932376=note: print w/ replies, xml ) Need Help??


in reply to passing multiple hashes to a subroutine

using amperstand &func() ignores prototypes, so use func ...; instead

Or forget about prototypes and use  func3scalars( $scalar, \%two, \%three )

See Modern Perl: the free book


Comment on Re: passing multiple hashes to a subroutine
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2015-07-04 20:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls