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
Domain Nodelet?
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 exploiting the Monastery: (5)
As of 2023-02-05 13:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (31 votes). Check out past polls.

    Notices?