Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: How Do I pass a hash to a subroutine?

by GoldenSage (Initiate)
on Nov 28, 2012 at 22:06 UTC ( [id://1006115]=note: print w/replies, xml ) Need Help??


in reply to How Do I pass a hash to a subroutine?

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re: How Do I pass a hash to a subroutine?

Replies are listed 'Best First'.
Re: Answer: How Do I pass a hash to a subroutine?
by choroba (Cardinal) on Nov 28, 2012 at 22:13 UTC
    Calling a subroutine with & ignores prototypes. Also, in order to make prototypes work, you must declare the subroutine before calling it.

    Moreover, you are posting to the Answers section, while you probably wanted to reply to one of the answers.

    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2026-01-17 09:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (121 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.