Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 studying the Monastery: (16)
As of 2014-09-23 15:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (224 votes), past polls