Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by Anonymous Monk
on May 03, 2006 at 12:53 UTC ( #547133=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print $count = $_ =~ s/\S+//g;
    
  2. or download this
    print $count = s/\S+//g;
    
  3. or download this
    $count = () = s/\S+//g;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2021-01-19 03:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?