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

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 wandering the Monastery: (9)
As of 2015-11-25 18:21 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (684 votes), past polls