|
|
sybperl-l Archive
Up Prev Next
From: "Robert Bresner" <rbresner at olf dot com>
Subject: Re: don't quite understand
Date: Sep 11 1998 2:21PM
try:
if( $dbh->("ROW_COUNT") == 1 ) ...
pang khong lin wrote:
>
> hi all, newcomer to SybPerl,
>
> $dbh->{"AttributeName'} = value;
>
> don't quite understand the above statement. The attribute name is
> suppose to show the status of the connection, but why it seem as if the
> attribute name is SET to the 'value'? Is the statement suppose to return
> certain value? Let say the :-
>
> if ($dbh->{"ROW_COUNT") = 1) {
> print " add record succeeded";
> ...
> }
>
> is the statement valid? Is this the right way to manipulate the
> connection specific attribute ?
>
> Phew! At least . . . managed to release some of the frustation
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
--
----------------------------------------
Robert Bresner rbresner@olf.com
Open Link Financial 516-227-6600 x216
http://www.olf.com/ fax: 516-227-1799
----------------------------------------
Opinions expressed are explicitly my own
"No more talking! Cerebus has a SWORD!"
|