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

Re^2: Matching Words

by tadman (Prior)
on May 23, 2002 at 07:34 UTC ( [id://168688]=note: print w/replies, xml ) Need Help??


in reply to Re: Matching Words
in thread Matching Words

In:
0 donuts are in the drawer on the left
Out:
donuts left
If zero were true, then black would be white, and you would likely be killed by a bus when using a zebra crossing. Or so I have heard.

New riff based on MeowChow's direction:
perl -ple '$_="@{[/\w+/g]}[0,-1]"'
Homework, Golf, what's the difference?

Replies are listed 'Best First'.
(MeowChow) Re3: Matching Words
by MeowChow (Vicar) on May 23, 2002 at 07:47 UTC
    Homework, Golf, what's the difference?

    The teacher's ability to comprehend the answer, I would guess :-)

    ps. nice stroke.

       MeowChow                                   
                   s aamecha.s a..a\u$&owag.print

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-19 22:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found