Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: How to access an Array Element

by wfsp (Abbot)
on Apr 03, 2006 at 11:27 UTC ( [id://540898]=note: print w/replies, xml ) Need Help??


in reply to How to access an Array Element

We need to know what your array looks like. Try something like:

use strict; use warnings; use Data::Dumper; my @array; # do whatever to populate the array print Dumper \@array;
And show us a (short) sample of the output.

Also, to help you on your way, have at look at these tutorials:

  • perlreftut - Mark's very short tutorial about references
  • perldsc - data structure complex data structure struct
  • perllol - Manipulating Arrays of Arrays in Perl

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-20 03:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found