Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Split words

by jwkrahn (Monsignor)
on Jul 11, 2012 at 14:54 UTC ( #981142=note: print w/ replies, xml ) Need Help??


in reply to Split words

$ echo "perl monks wisdom monks perl wisdom" | perl -lne'print for split /\s*(monks)\s*/' perl monks wisdom monks perl wisdom


Comment on Re: Split words
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2014-09-17 04:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (57 votes), past polls