Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Re: require() turns off strict?

by dragonchild (Archbishop)
on Jan 06, 2003 at 22:11 UTC ( [id://224764]=note: print w/replies, xml ) Need Help??

in reply to Re: require() turns off strict?
in thread require() turns off strict?

For example, you get a package from another person, and he didn't "use strict" in his package. Now you use his package in your package, and you specify "use strict". If this "use strict" is not per lexical body scope, but affects the whole script(remember his package is inside your script scope now.), Perl will probably refuse to run your script, because of all those problems in his package caused by your "use strict".

Like CGI.

We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-05-25 09:07 GMT
Find Nodes?
    Voting Booth?

    No recent polls found