Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by shenme (Priest)
on Feb 12, 2006 at 15:29 UTC ( #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
Node Status?
node history
Node Type: note [id://529646]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2021-01-21 11:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?