From: Vsevolod (S. I. <si...@cs...> - 2004-01-07 18:49:46
|
Chris, When an object is retrieved from cache, SPOPS->new is called with the $p parameter being the actual object. Then a new object is created by copying the data. (In normal cases $p is just a hashref, not an SPOPS object.) However, on line 138 $p->{default_values} is called. When $p is a hashref, it's okay. When $p is an SPOPS object with strict field checking turned on, it generates a warning. Simon -- Simon (Vsevolod ILyushchenko) si...@cs... http://www.simonf.com America's business leaders simply don't want to think about complex technology issues - they want to think about golf. Microsoft promises them that. Andrew Grygus, www.aaxnet.com |