Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Passing Hashes In and Out of Functions

by nickcave25 (Acolyte)
on Feb 20, 2000 at 23:45 UTC ( [id://3781]=note: print w/replies, xml ) Need Help??


in reply to Passing Hashes In and Out of Functions

$assignTitle{1} = "Slashdot"; $assignCategory{1} = "Tech News"; $assignBlurb{1} = "News for nerds. Stuff that matters."; %assignUrl{1} = "http://www.slashdot.org/"; $assignTitle{2} = "Perl Monks"; $assignCategory{2} = "Perl"; $assignBlurb{2} = "Perl advice."; $assignUrl{2} = "http://www.perlmonks.org/"; return (%assignTitle,%assignCategory,%assignBlurb,%assignUrl); # apparently this (or the other similarly commented statement # or both) is illegal and/or doesn't do what I think it should. }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-03-29 13:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found