Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: regex needed

by OM_Zen (Scribe)
on Mar 14, 2003 at 16:19 UTC ( #243098=note: print w/ replies, xml ) Need Help??


in reply to regex needed

Hi ,

This is one way to do this :

if($_ =~ /^TEST:/){print $';} __END__ foo



Comment on Re: regex needed
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (13)
As of 2015-07-29 21:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls