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

Re: Array in Array

by Abigail-II (Bishop)
on Oct 07, 2003 at 09:01 UTC ( [id://297232]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Array in Array
in thread Array in Array

References are like boxes. If you take a picture of them, you get just that: the box. To get to the content, you first have to open them. It's the same with references. If you print them, you just get that: some kind of 'spooky' representation of the reference. To get to the content, open it. For references pointing to arrays, you do that by placing a @ in front of the reference. So, for instance:
print "@$array_ref\n";

Abigail

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-23 15:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found