NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Two points (Score:1)
Using “
our” will make your code incompatible with old perls.File-scoped “
our” is OK, but lexically scoped “our” is bad; see Ben Tilly’s rant.Note that if you only need to change a few globals once (eg. set up
@ISAand$VERSIONwhen your class is loaded), then you can simply move those bits above the “use strict” line. Then you need neither “our” nor “use vars”.Reply to This