Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: How to access an Array Element

by SamCG (Hermit)
on Apr 03, 2006 at 16:32 UTC ( [id://540976]=note: print w/replies, xml ) Need Help??


in reply to How to access an Array Element

This is really an odd question, particularly given your stipulation that there is only one row of data. If this is really a stipulation, I'd be inclined to say $search='crikey';, but there has to be more to your question. An array would be something like @albums = qw(1 grovvy crikey 10/10/2006) (assuming the simplest case, and that you don't really mean a hash). Then @albums[2] would be 'crikey'. update: fixed typo

------------------
s''limp';@p=split '!','n!h!p!';s,m,s,;$s=y;$c=slice @p[1];so brutally;d;$n=reverse;$c=$s**$#p;print(''.$c^chop($n))while($c/=$#p)>=1;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-19 21:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found