On Mon, Aug 21, 2006 at 08:22:37AM -0000, Nikolaus Rath wrote: > Public bug reported: > > DB<1> s > main::valid_answer(/home/nikratio/Projekte/Archiver/Archiver.pm:314): > 314: if($p->{"type"} eq "string") { > DB<1> x $p > 0 HASH(0x892a01c) > 'default' => 'never' > 'emptyok' => 1 > 'query' => 'Expiration date' > 'type' => 'timeoff' > DB<2> x $p->{"type"} > 0 'timeoff' > DB<3> s > main::(/home/nikratio/bin/aadd:94): > 94: if($@) { > DB<3> x $@ > 0 'Can\'t call method "type" on unblessed reference at > /home/nikratio/Projekte/Archiver/Archiver.pm line 314, <STDIN> line 10. > ' > DB<4> > > ** Affects: perl (Ubuntu) > Importance: Untriaged > Status: Unconfirmed > > -- > $p->{"type"} tries to call a method named type
My guess would be that somewhere in the object hierarchy, something has an AUTOLOAD defined. This is the expected behavior in that case. Steve Peters [EMAIL PROTECTED] -- $p->{"type"} tries to call a method named type https://launchpad.net/bugs/57061 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs