Skip Menu |

This queue is for tickets about the Tie-Handle-CSV CPAN distribution.

Report information
The Basics
Id: 61617
Status: resolved
Priority: 0/
Queue: Tie-Handle-CSV

People
Owner: danboo [...] cpan.org
Requestors: bchong [...] adobe.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject:
Date: Fri, 24 Sep 2010 12:16:39 -0700
To: "bug-tie-handle-csv [...] rt.cpan.org" <bug-tie-handle-csv [...] rt.cpan.org>
From: Brian Chong <bchong [...] adobe.com>
The following error occurs: Use of uninitialized value in lc at C:/strawberry/perl/site/lib/Tie/Handle/CSV/Hash.pm line 31, <$csv_fh> When running a simple script: #!/usr/bin/perl use strict; use warnings; use Tie::Handle::CSV; my $fh = Tie::Handle::CSV->new('ref.txt', header => 1); while (my $csv_line = <$fh>) { print $csv_line->{'ACTION NEEDED'} . ": " . $csv_line->{'part_number'} . "\n"; } close $fh;
Subject: lc() on undef warning
I've fixed this issue by adding a defined() test in version 0.14. Thanks for the bug report, and sorry for the long delay.