Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: Counting the number of items returned by split without using a named array

by blazar (Canon)
on May 03, 2006 at 13:47 UTC ( #547152=note: print w/replies, xml ) Need Help??


in reply to Re^3: Counting the number of items returned by split without using a named array
in thread Counting the number of items returned by split without using a named array

I know. My entire point was not to maintain a counter manually a' la

++$cnt while $str =~ /\s+/g;

Well done to point out about \S anyway, since one often forgets about \S, \D and \W.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2021-12-01 02:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?