Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Re^2: Why no bareword warnings while inside of BEGIN (no)

by Limbic~Region (Chancellor)
on Mar 22, 2004 at 23:36 UTC ( #338837=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Why no bareword warnings while inside of BEGIN (no)
in thread Why no bareword warnings while inside of BEGIN

tye,
So this is a bug/feature, I see it in your reply below.
I thought:

Because a BEGIN block executes immediately,...

Meant that it executed and then execeptions were thrown. After running it through perl -MO=Deparse, I thought it was expected behavior since it doesn't seem to matter what kind of loop it is - the error isn't thrown until after it is completed.

Cheers - L~R

Update: Changed bug/feature to statement rather than question after seeing tye's reply further down in thread


Comment on Re: Re^2: Why no bareword warnings while inside of BEGIN (no)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2014-12-28 06:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (178 votes), past polls