Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by dkubb (Deacon)
on May 16, 2001 at 11:13 UTC ( #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? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2022-12-09 22:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?