disable auto-instantiation or warn about it

Dirk Koopman djk at tobit.co.uk
Fri Jul 13 19:33:49 BST 2007


Uri Guttman wrote:
>>>>>> "JS" == Jonathan Stowe <jns at gellyfish.com> writes:
> 
> 
>   JS> It's generally called auto-vivification. However you want to "use
>   JS> strict" that will stop that particular class of bug.
> 
> nope. strict has no effect on autoviv.
> 
> and there is no simple way to disable it (probably some tied/XS thing
> could do it).

IIRC (can't find the book at the moment [due to a recent deluge of "new" 
ones]), that Damian Conway devotes at least one chapter on the subject 
of autoviv control in "Object Oriented Perl".

Dirk


More information about the london.pm mailing list