Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Applying a regular expression to a string

by Zaxo (Archbishop)
on Apr 04, 2005 at 11:45 UTC ( [id://444629]=note: print w/replies, xml ) Need Help??


in reply to Applying a regular expression to a string

How about this?

my $message_id = do { local $_ = $message; (split)[0]; };

After Compline,
Zaxo

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-19 19:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found