Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: Re: The longest word ....

by Anarion (Hermit)
on Nov 12, 2002 at 12:54 UTC ( [id://212256]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub lword{
    push(@{$a[length]},$_)for(pop)=~/\b\w+/g;@{$a[-1]}
    }
    
  2. or download this
    sub lword2{
    for((pop)=~/\b\w+/g){push(@{$a[length]},$_);@b[0..-2]=''}@{$a[-1]}
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (1)
As of 2024-04-25 00:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found