Re: Re: $sth-rows

2001-11-09 Thread Perl DBI
im using postgres and $sth-rows is working well. [EMAIL PROTECTED] writes: Depend on the driver and underlying DBMS. Safest is to use select count(*). Perl DBI wrote: would anyone here knows the alternative way of getting the number of rows in a select statement without using $sth-rows

Re(2): .htpasswd and DBD::CSV

2001-07-16 Thread Perl DBI
[EMAIL PROTECTED] writes: $dbh-{csv_tables}-{htp}-{file} = '.htpasswd'; tnx jeff. it's working. now i can open .htpasswd using DBD::CSV

.htpasswd and DBD::CSV

2001-07-11 Thread Perl DBI
how can i connect to .htpasswd using DBD::CSV? particularly those file with period (.) at the beginning. this is the error im getting. DBD::CSV::db prepare failed: Parse error near .prog where progname='Prepaid Domains' at /usr/lib/perl5/site_pe rl/5.005/DBD/File.pm line 164. Can't call

RE: .htpasswd and DBD::CSV

2001-07-11 Thread Perl DBI
yes. i already tried it. [EMAIL PROTECTED] writes: I could be wrong but have you tried \.prog instead. adrian -Original Message- From: Perl DBI [mailto:[EMAIL PROTECTED]] Sent: Thursday, 12 July 2001 16:09 To: [EMAIL PROTECTED] Subject: .htpasswd and DBD::CSV how can i connect

Re: RE: .htpasswd and DBD::CSV

2001-07-11 Thread Perl DBI
[EMAIL PROTECTED] writes: On Thu, 12 Jul 2001, Perl DBI wrote: .. yes. i already tried it. in my experience DBD::CSV can be iffy. I just use Text::CSV_XS (where you can better control delimiters and stuff) and DBD::RAM. =) which one can open a .htpasswd? and easy to use?

Strange error using mod_perl/DBI

2001-03-23 Thread Perl-DBI Mailing List
Hello all, I have the following config: Apache 1.3.19 with mod_perl 1.25 and PHP4 built statically into the server. I am using Perl DBI 1.14 and the MySql module 1.2215. (Note: this problem also existed using apache 1.3.14 and mod_perl 1.24_1) I have a CGI script that queries a table in MySQL