Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by choroba (Cardinal)
on Nov 28, 2012 at 22:13 UTC ( [id://1006119]=note: print w/replies, xml ) Need Help??


in reply to Re: How Do I pass a hash to a subroutine?
in thread How Do I pass a hash to a subroutine?

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://1006119]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2026-01-17 09:43 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.