Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^4: Referring to an array without copying to a separate variable first

by LanX (Saint)
on Jun 27, 2013 at 00:14 UTC ( [id://1040875]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      DB<112> @a="a".."d"
     => ("a", "b", "c", "d")
    
      DB<113> @a->[2]
     => "c"
    
  2. or download this
      DB<114> use warnings; @a->[2]
    Using an array as a reference is deprecated ...
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-24 11:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found