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 scrutinizing the Monastery: (4)
As of 2016-02-14 21:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (471 votes), past polls