Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Getting last value in array

by screamingeagle (Curate)
on Jul 18, 2002 at 23:00 UTC ( [id://183082]=note: print w/replies, xml ) Need Help??


in reply to Getting last value in array

here's another way to do it (wouldnt recommend it though :)
print $array[scalar @array - 1];

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-03-29 12:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found