Re: delete by id ?

[prev] [thread] [next] [Date index for 2005/02/09]

From: Tony Bowden
Subject: Re: delete by id ?
Date: 19:13 on 09 Feb 2005
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

delete by id ?
raptor 20:59 on 08 Feb 2005

Re: delete by id ?
Tony Bowden 22:01 on 08 Feb 2005

Re: delete by id ?
raptor 18:59 on 09 Feb 2005

Re: delete by id ?
Perrin Harkins 19:09 on 09 Feb 2005

Re: delete by id ?
Tony Bowden 19:13 on 09 Feb 2005

Generated at 10:21 on 11 Feb 2005 by mariachi v0.52