Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: Re: Hashes and Functions

by kelan (Deacon)
on Apr 10, 2003 at 19:20 UTC ( [id://249718]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Hashes and Functions
in thread Hashes and Functions

Actually, in that case the parens are associated with my. You can think of my as a function just like any other function and the parens group and specify its arguments. The reason you can assign to it is because my returns a list of its newly scoped arguments, which are then assigned to like any other list assignment.

kelan


Perl6 Grammar Student

Log In?
Username:
Password:

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

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

    No recent polls found