Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^7: What would be the easier way

by Anonymous Monk
on Mar 04, 2013 at 02:00 UTC ( #1021562=note: print w/replies, xml ) Need Help??

in reply to Re^6: What would be the easier way
in thread What would be the easier way

It doesn't reference a named array, it references an anonymous array.

I asked you what you call it, not what it references, so what do you call it?

Replies are listed 'Best First'.
Re^8: What would be the easier way
by dsheroh (Prior) on Mar 04, 2013 at 10:38 UTC
    I call it "George".

      Well, gee, for a named array @george you type  $george[1] , you call this array george,

      for an anonymous array you type $height{george}, you call it $height{george},
      its pronounced height-of-george

      you can tack-on array or arrayref; the "ref" part of arrayref is implied by height-of-, implied by $height{}

      sure its an arrayref, the keyword is array, the only name it has is height-of-george, so that is what you call it

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1021562]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2017-09-22 10:41 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (261 votes). Check out past polls.