Re: [Boston.pm] Making strict, possibly other use declarations global.

2005-11-14 Thread Jerrad Pierce
Ugliness: Instead of using the modules, your pluggable system could read the module into a scalar, prepended with 'use strict;' and eval that. Of course you'd have to scan the code for and remove 'no strict;' as well, and be sure that the author didn't really need it. But what if they: 'no strict

Re: [Boston.pm] Making strict, possibly other use declarations global.

2005-11-14 Thread David Cantrell
On Mon, Nov 14, 2005 at 08:44:41AM -0800, Carl Eklof wrote: > Does anybody know of a way to enforce 'use strict' on > the packages used in a script? Acme::Code::Police :-) -- David Cantrell | Benevolent Dictator Of The World For every vengeance, there is an equal and opposite revengeance.

[Boston.pm] Making strict, possibly other use declarations global.

2005-11-14 Thread Carl Eklof
Hello, Does anybody know of a way to enforce 'use strict' on the packages used in a script? I am building a sizable application, with plug-able modules (packages) written in perl. I'd like to enforce 'use strict' on the included modules, without depending on users to put 'use strict' below each p