I feel a little stupid now that I actually read up on tying hashes. Had I 
read Ch 14 of the Camel #3, I might have phrased my question in a better 
way so as to not illuminate my inexperience with tying variables. :-)

I assume that the reason I get the "Can't locate the render_format method" 
is because you're not actually storing any objects yet?

One final question, by using "our" you're restricting these modules to perl 
5.6.x. Is there any particular reason for this? From the looks of it, the 
usage of our could easily be changed. Do you have plans to take advantage 
of other 5.6 specific features? Either way it would be nice if you included 
a "require 5.6.0;" in PerlKB.pm so that it would be immediately obvious to 
the new user.

At 03:06 AM 10/11/01 -0500, Jim Smith wrote:
>On Thu, Oct 11, 2001 at 02:53:09AM -0400, Drew Taylor wrote:
> > I've run into a WEIRD problem that I think is ActivePerl related. I've
> > installed the PerlKB modules and added some debugging code to
> > PerlKB::Store.pm. The short story is that I have to shift TWICE to get rid
> > of the "PerlKB::Store"! This is with the latest ActivePerl which I just
> > installed tonight. And to top it off, once the config href is populated I
> > get an "illegal operation" error and no result. :-( My system is Win98 SE.
> >
> > Any ideas? This is just weird...
>
>*doh* yes.  I should have caught it.  The following change has been made to
>cvs (< == old, > == new).  Change the URL from -0.02.tar.gz to -0.03.tar.gz.
>
>% cvs diff Store.pm
>Index: Store.pm
>===================================================================
>RCS file: /cvsroot/perlkb/perlkb/lib/PerlKB/Store.pm,v
>retrieving revision 1.4
>diff -r1.4 Store.pm
>18c18
><     croak "No configuration" unless $self -> {config} -> {configuration} 
>-> isa("PerlKB::Configuration");
>---
> >     croak "No configuration" unless $self -> {config} -> 
> {configuration} && $self -> {config} -> {configuration} ->
>isa("PerlKB::Configuration");
>33c33
>< sub TIEHASH { return $_[0] -> new(@_); }
>---
> > sub TIEHASH { return shift -> new(@_); }

Drew Taylor                     JA[P|m_p|SQL]H
http://www.drewtaylor.com/      Just Another Perl|mod_perl|SQL Hacker
mailto:[EMAIL PROTECTED]      *** God bless America! ***




Reply via email to