Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 scrutinizing the Monastery: (8)
As of 2015-07-04 08:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (58 votes), past polls