Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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
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 meditating upon the Monastery: (5)
As of 2020-12-04 01:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (58 votes). Check out past polls.

    Notices?