Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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
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 having an uproarious good time at the Monastery: (7)
As of 2015-07-07 11:27 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 (88 votes), past polls