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)