Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: Why no bareword warnings while inside of BEGIN

by chromatic (Archbishop)
on Mar 22, 2004 at 23:12 UTC ( #338822=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl   
    use strict;
    BEGIN { $x = 'y'; $$x = 1; print $y }
    ...
    Global symbol "$x" requires explicit package name at - line 2.
    Global symbol "$y" requires explicit package name at - line 2.
    BEGIN not safe after errors--compilation aborted at - line 2.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2016-06-29 07:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (370 votes). Check out past polls.