Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: words wich ends with "f"

by b10m (Vicar)
on Jun 19, 2008 at 15:23 UTC ( #692945=note: print w/ replies, xml ) Need Help??


in reply to words wich ends with "f"

I'd go with something like this (yeah, TIMTOWTDI):

$s = "four fifth two frog left leaf fred wolf"; @f = grep (/^[^f]\w*f\w*$/, split(' ', $s)); print "@f";
--
b10m

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2016-06-27 20:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (344 votes). Check out past polls.