in reply to DBI Out parameters

Are you sure the database is in fact returning an ID?  In case of it being NULL, the DBI would set $id to undef, which would explain the "use of unitialised variable" message...

Replies are listed 'Best First'.
Re^2: DBI Out parameters
by Anonymous Monk on Nov 19, 2008 at 13:54 UTC
    Yeah, the query does return a value. It is as if dbi is not picking up the variable and returning it. i can attach the dbi trace if that is of any use? thanks.
      i can attach the dbi trace if that is of any use

      It might help... (no guarantees whatsoever, though).  In case it's long, please wrap it in <readmore>...</readmore> tags, to not annoy those who don't want to look at it...