Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

(dkubb) Re: (2) Cross-developing in 5.005 and 5.6 (code)

by dkubb (Deacon)
on May 16, 2001 at 11:13 UTC ( [id://80821]=note: print w/replies, xml ) Need Help??


in reply to Cross-developing in 5.005 and 5.6 (code)

Remember that strict is only going to be honored in the scope it was declared in.

In this snippet of code, strict isn't making any difference to the code outside of the BEGIN block. Try placing a non-lexically scoped variable after the BEGIN block, and watch as perl let's it pass without complaining.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-03-29 15:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found