Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 snow settles gently...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2018-05-24 21:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?