Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: regex: finding something followed explicitly by a dot

by shenme (Priest)
on Feb 12, 2006 at 15:29 UTC ( [id://529646]=note: print w/replies, xml ) Need Help??


in reply to Re: regex: finding something followed explicitly by a dot
in thread regex: finding something followed explicitly by a dot

Why do you have your argument-checking 'die' inside a BEGIN block? The line would work as well without being enclosed in a BEGIN block (once a ';' was added at the end)
  • Comment on Re^2: regex: finding something followed explicitly by a dot

Replies are listed 'Best First'.
Re^3: regex: finding something followed explicitly by a dot
by ayrnieu (Beadle) on Feb 12, 2006 at 21:27 UTC
    Habit: sometimes I'd like to avoid other BEGIN or module processing. As near-cargo-cult code goes, is it very bad?

Log In?
Username:
Password:

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

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

    No recent polls found