Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: What would be the easier way

by zee3b (Novice)
on Mar 04, 2013 at 01:12 UTC ( #1021553=note: print w/replies, xml ) Need Help??


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

hey, im sorry i didnt really get that since ive started using perl recently, can you explain this part to me a little @{ $height{$input}} What will my array be called then? Thanks!

Replies are listed 'Best First'.
Re^3: What would be the easier way
by james2vegas (Chaplain) on Mar 04, 2013 at 01:50 UTC
    @{ $whatever } de-references the array ref $whatever so you can use the reference as an array. Your data are contained in array references which you need to de-reference with @{ } to use as arrays.
Re^3: What would be the easier way
by Anonymous Monk on Mar 04, 2013 at 01:36 UTC
      That is not an array, but an array reference.

        That is not an array, but an array reference.

        And what do you call this "array reference", what is the name of the array it refers to ?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1021553]
help
Chatterbox?
[atcroft]: choroba: I found something in the GitHub repo for it where someone suggested changing the limit in the search result URL, but I don't know how effective that will be....

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2017-04-29 05:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (531 votes). Check out past polls.