Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: How to access an Array Element

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.