Up Prev Next
From: Tim Ehlert <tim at startplus dot de>
Subject: Re: Help using sybperl Sybase::DBLib sql routine
Date: Sep 24 1997 11:58AM
Andreas Schmidt wrote:
> >I'm using the Sybase::DBLib routines.
> >I've called sql with
> > $db->sql("select field1, field2 from tablename");
> >It returns something like:
> >>>>> ARRAY(0x330f14)
> >>>>> ARRAY(0x334da0)
> >How do I get this into something useful?
> Although I have no experience mit DBLib, since I just use CTLib, your
> result is exacty what I would expect: Sybase always returns an array of
> result rows - even if there is only one row in the result. Each row is
> represented as an reference to an array, which contains the single column
> And when using in hash-context it returns an array of references to hashes.
> Hope that helps.
nice to read you here ;-)
so, that's your chance to grab my new email address even.