Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: \ Operator in referencing

by ishnid (Monk)
on Aug 06, 2004 at 14:36 UTC ( [id://380570]=note: print w/replies, xml ) Need Help??


in reply to \ Operator in referencing

The whole 'reference of a list' thing is principally a shorthand way of getting a list of references (and we know how good at shorthand Perl is!).

Using the \() notation (as in your example 3) is much easier (and readable) than something like this:
my @list_of_refs = map \$_, @list;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-26 03:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found