Re: no overloaded magic??

[prev] [thread] [next] [Date index for 2004/09/17]

From: Tim Bunce
Subject: Re: no overloaded magic??
Date: 11:22 on 17 Sep 2004
On Wed, Sep 15, 2004 at 03:47:52PM -0500, Michael Jensen wrote:
> I was doing some things in my site today and didn't touch the 
> siteMenu.mas file (Mason/Perl), but it all of a sudden gave me an 
> error. I am using CDBI for the users and groups table (among others). 
> Here is my code on the page: 
> 
> my $user = Table::Users->retrieve($m->comp('/i/getuserid.mas')); 

> if ($user->group_id < 4) { 

> Operation `<': no method found, 
>  left argument in overloaded package Table::Groups, 
>  right argument has no overloaded magic at 
> /home/webtree/home/www.acutext.com/html/o/siteMenu.mas line 45. 

Looks like a bug, but I've no time to look into it now.

If anyone wants to the docs for overload are here
http://search.cpan.org/~nwclark/perl-5.8.5/lib/overload.pm

Tim.

no overloaded magic??
Michael Jensen 20:47 on 15 Sep 2004

Re: no overloaded magic??
Perrin Harkins 20:59 on 15 Sep 2004

Re: no overloaded magic??
jason 21:03 on 15 Sep 2004

Re: no overloaded magic??
Michael Jensen 21:00 on 15 Sep 2004

Re: no overloaded magic??
Tim Bunce 11:22 on 17 Sep 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52