Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: accessing @$array elements

by gjb (Vicar)
on Apr 21, 2004 at 08:18 UTC ( #346928=note: print w/ replies, xml ) Need Help??

in reply to accessing @$array elements

Since $columns is a reference, you can access the elements with $columns->[0], etc.

Hope this helps, -gjb-

Update: you can find more info in Perl's documentation.

Comment on Re: accessing @$array elements
Select or Download Code
Replies are listed 'Best First'.
Re: Re: accessing @$array elements
by ysth (Canon) on Apr 21, 2004 at 09:17 UTC
    Or a very short references tutorial here.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2016-02-06 09:17 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (222 votes), past polls