Re: * CSV to HTML * zero reads as empty space

2004-02-05 Thread James Edward Gray II
On Feb 5, 2004, at 1:34 PM, Gregg O'Donnell wrote: Here's the whole shootin' match... Wow, man. No offense intended but we need to clean that up a little before I can say a lot about how it is or is not working. Did you know we won't bill you for using extra whitespace? First two questions:

Re: * CSV to HTML * zero reads as empty space

2004-02-05 Thread Gregg O'Donnell
Here's the whole shootin' match... #!/usr/local/bin/perl -wT # -- my $debug = 0; my @database_dirs = ( "/home/state/dof/fire/", "/home/state/dof/fire/" ); my @template_dirs = ( "/home/state/dof/fire/", "/home/st

Re: * CSV to HTML * zero reads as empty space

2004-02-05 Thread James Edward Gray II
On Feb 5, 2004, at 11:56 AM, Gregg O'Donnell wrote: Good follow-up, and here's a snippet: Just FYI, there are multiple CSV parsing modules on the CPAN. I use Text::CSV_XS personally. sub parse_line { my $line = shift; chomp($line); print "LINE: $line\n" if $debug; my %record; my $entr

RE: * CSV to HTML * zero reads as empty space

2004-02-05 Thread Gregg O'Donnell
ALSE. -Original Message- From: Gregg O'Donnell [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 8:38 AM To: [EMAIL PROTECTED] Subject: * CSV to HTML * zero reads as empty space I have a script that reads a CSV file into an HTML template. The template reads the CSV data

Re: * CSV to HTML * zero reads as empty space

2004-02-05 Thread James Edward Gray II
On Feb 5, 2004, at 10:38 AM, Gregg O'Donnell wrote: I have a script that reads a CSV file into an HTML template. The template reads the CSV data accurately unless the field shows zero, in which case the HTML page displays a blank space. Any suggesstions? Absolutely. I suggest you post your code

RE: * CSV to HTML * zero reads as empty space

2004-02-05 Thread Tim Johnson
cause zero evaluates to FALSE. -Original Message- From: Gregg O'Donnell [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 8:38 AM To: [EMAIL PROTECTED] Subject: * CSV to HTML * zero reads as empty space I have a script that reads a CSV file into an HTML template. The template read

* CSV to HTML * zero reads as empty space

2004-02-05 Thread Gregg O'Donnell
I have a script that reads a CSV file into an HTML template. The template reads the CSV data accurately unless the field shows zero, in which case the HTML page displays a blank space. Any suggesstions? Thanks! - Do you Yahoo!? Yahoo! Finance: Get your refund fas