Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Determing whether a regexp has capturing matches

by adrianh (Chancellor)
on Feb 27, 2007 at 15:58 UTC ( #602319=note: print w/replies, xml ) Need Help??


in reply to Re: Determing whether a regexp has capturing matches
in thread Determing whether a regexp has capturing matches

$1 will be set to undef after a match with no parentheses.

Is this documented behaviour? I could have sworn I'd used a perl at some point where $1 persisted unless you made another captured match. I could, of course, be making shit up :-)

  • Comment on Re^2: Determing whether a regexp has capturing matches

Replies are listed 'Best First'.
Re^3: Determing whether a regexp has capturing matches
by Limbic~Region (Chancellor) on Feb 27, 2007 at 17:15 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://602319]
help
Chatterbox?
[Perl300]: Hi all
[Perl300]: I need suggestion for a module that'll help me to send email from my perl code. I want it secure and as simple as possible.
[Perl300]: I found from Super Search
[Perl300]: I found from Super Search, Net::SMTPS or Net::SMTP, MIME::Lite, Email as options
[1nickt]: Perl300 Try Email::Stuffer
[1nickt]: Or for a little more control, Email::Sender:: Simple
[Perl300]: any suggestion on which one might be secure and simplest. I am not doing anything complex, just check some conditions from DB tables and send email to myself (same domain) if conditions are met
[1nickt]: read the doc of the suggestions I just gave
[1nickt]: A lot depends on whether you are sending mail from your local box or using a remote server

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2017-10-17 15:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (233 votes). Check out past polls.

    Notices?