Re: [Maypole] Error: Can't fetch data as class method ??

From: Perrin Harkins (perrin at elem.com)
Date: Wed Oct 27 2004 - 20:11:58 BST


On Wed, 2004-10-27 at 13:20, Peter Speltz wrote:
> my $class = ref $self || $self; # This could be significant ??

Yes. When it worked, you were passing a ref. Now you're passing a
class name. Presumably this is because you were calling something
higher up the chain as an object method before and are now calling it as
a class method.

- Perrin

_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:56 GMT