Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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.

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2016-12-04 12:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (65 votes). Check out past polls.