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

Re: Is using $#array Frowned on?

by Kenosis (Priest)
on Feb 13, 2014 at 20:48 UTC ( #1074892=note: print w/replies, xml ) Need Help??


in reply to Is using $#array Frowned on?

$#array is perfectly acceptable for getting the value of @array's last index (i.e., the subscript of the last element).

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2021-02-27 16:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?