On 11/9/05, Bill Broomall <[EMAIL PROTECTED]> wrote: > Hello, > > Can someone help me see what I might be doing wrong here, or point me to > a simpler solution? Without the stringify_self subroutine, everything > works just fine. With stringify_self, I get very similar results to > those described by Aaron here: > > http://maypole.sourceforge.net/old_list_archive/0097.html > > But alas, his solution has not worked for me, although I can get a away > with something useless like this > > sub stringify_self { > my $self = shift; > my $stringified = 1; > return $stringified; > } > > Or with anything else that does not actually use $self.
You need to check that $self is a ref before calling any objects method, best to check is isa('Class::DBI') before calling any methods on it. A. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Maypole-users mailing list Maypole-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/maypole-users