Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Array length with range operator

by gurpreetsingh13 (Scribe)
on Jun 06, 2013 at 07:27 UTC ( #1037385=note: print w/ replies, xml ) Need Help??


in reply to Re: Array length with range operator
in thread Array length with range operator

Works. But I didn't want to generate a separate list variable @a.


Comment on Re^2: Array length with range operator
Replies are listed 'Best First'.
Re^3: Array length with range operator
by hdb (Prior) on Jun 06, 2013 at 09:19 UTC
    perl -wE "say scalar( () = 'aa' .. 'zz');"

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2015-07-30 13:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls