Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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


Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://243098]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2017-05-27 22:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?