Re: no overloaded magic??
[prev]
[thread]
[next]
[Date index for 2004/09/17]
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.
|
|
Re: no overloaded magic??
Tim Bunce 11:22 on 17 Sep 2004
|