Subject: | Example: csv2xls v1.6 |
Date: | Sun, 23 Aug 2009 20:51:18 -0500 |
To: | bug-Text-CSV_XS [...] rt.cpan.org |
From: | Chap Harrison <clh [...] pobox.com> |
Hi,
Just a minor nit: I copied the example program csv2xls into my current
directory (and gave it that name), and then ran ./csv2xls, with no
arguments. It then offered to overwrite 'csv2xls'!
my $title = @ARGV && -f $ARGV[0] ? $ARGV[0] : "csv2xls";
($xls ||= $title) =~ s/\.csv$/.xls/;
Should default $title be "csv2xls.xls", as stated in usage()?
Glad it asked for permission, though! :-)
csv2xls v1.6
Text-CSV_XS-0.67
Perl v5.8.8
Darwin Chief.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15
16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
Regards,
Chap Harrison