Re: Need help with aggregate functions and queries that return zero records

2008-03-07 Thread Ashok Vemuri
yourself if you need it soon: Changing line 1189 of SQL/Statement.pm like so fixes it: - $rows = $g-calc; + $rows = $g-calc || []; Sorry for the problems. -- Jeff Ashok Vemuri wrote: Hi, I am having a bit of trouble using aggregate functions with DBI::CSV (version 0.22) and could

Need help with aggregate functions and queries that return zero records

2008-03-03 Thread Ashok Vemuri
Hi, I am having a bit of trouble using aggregate functions with DBI::CSV (version 0.22) and could use some help figuring out why. I have the following code snippet that queries a CSV file named masterdata, located at c:/test/output folder. use DBI; my $dbh =