http://qs321.pair.com?node_id=80821


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.