Re: delete by id ?
[prev]
[thread]
[next]
[Date index for 2005/02/09]
On Wed, Feb 09, 2005 at 08:59:40PM +0200, raptor wrote:
> |> Can I do ,
> |> $Class->delete($id);
> |> instead of :
> |> my $obj = $Class->retrieve($id)
> |> $obj->delete();
> |
> |What happened when you tried?
>
> Errors Output
>
> 1. Can't use string ("15") as a HASH ref while "strict refs" in use at /usr/lib/perl5/site_perl/5.8.2/Class/DBI.pm line 1091. , /usr/lib/perl5/site_perl/5.8.6/Apache/ASP.pm line 1518
Looks like you didn't need to ask the list then. Asking perl is much
easier and quicker...
Tony