Re: no overloaded magic??
[prev]
[thread]
[next]
[Date index for 2004/09/15]
On Wed, 2004-09-15 at 16:47, Michael Jensen wrote:
> % if ($user->group_id < 4) {
> some stuff here...
> % }
>
>
>
> I have never heard of overloading before so I am not sure what isgoing
> on. See error:
>
>
> 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 $user->group_id actually returns an object, not a simple
scalar. Maybe you meant $user->group_id()->id() ?
- Perrin
|
|
Re: no overloaded magic??
Perrin Harkins 20:59 on 15 Sep 2004
|