Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: Counting number of characters in a string

by ikegami (Pope)
on Jan 23, 2009 at 22:34 UTC ( #738608=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $cnt = @{[$str =~ /./sg]};
    
  2. or download this
    my $cnt =()= $str =~ /./sg;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2014-08-28 23:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls