This queue is for tickets about the Spreadsheet-WriteExcel CPAN distribution.
Maintainer(s)' notes
If you are reporting a bug in Spreadsheet::WriteExcel here are some pointers
1) State the issues as clearly and as concisely as possible. A simple program or Excel test file (see below) will often explain the issue better than a lot of text.
2) Provide information on your system, version of perl and module versions. The following program will generate everything that is required. Put this information in your bug report.
#!/usr/bin/perl -w
print "\n Perl version : $]";
print "\n OS name : $^O";
print "\n Module versions: (not all are required)\n";
my @modules = qw(
Spreadsheet::WriteExcel
Parse::RecDescent
File::Temp
OLE::Storage_Lite
IO::Stringy
Spreadsheet::ParseExcel
Scalar::Util
Unicode::Map
);
for my $module (@modules) {
my $version;
eval "require $module";
if (not $@) {
$version = $module->VERSION;
$version = '(unknown)' if not defined $version;
}
else {
$version = '(not installed)';
}
printf "%21s%-24s\t%s\n", "", $module, $version;
}
__END__
3) Upgrade to the latest version of Spreadsheet::WriteExcel (or at least test on a system with an upgraded version). The issue you are reporting may already have been fixed.
4) Create a small but complete example program that demonstrates your problem. The program should be as small as possible. At the same time it should be a complete program that generates an Excel file. If the Spreadsheet::WriteExcel section is part of a much larger program then simplify it down to the essentials. Simulate any DB reads with an array.
5) Say if you tested with Excel, OpenOffice, Gnumeric or something else. Say which version of that application you used.
6) If you are submitting a patch you should check with the author whether the issue has already been patched or if a fix is in the works. Patches should be accompanied by test cases.
Asking a question
If you would like to ask a more general question there is the Spreadsheet::WriteExcel Google Group.
Owner: |
jmcnamara [...] cpan.org
|
Requestors: |
rose [...] sj.com
|
Cc: |
|
AdminCc: |
|
|
Severity: |
Normal |
Broken in: |
0.42 |
Fixed in: |
(no value)
|
|
Wed Oct 15 05:47:43 2003
Guest - Ticket created
#!/usr/bin/perl -w
use strict;
use Spreadsheet::WriteExcel;
print $Spreadsheet::WriteExcel::VERSION, "\n";
my $xls = Spreadsheet::WriteExcel->new( "output.xls" );
$xls->close();
__END__
output:
0.42
Can't use an undefined value as a HASH reference at /usr/local/lib/perl5/site_perl/5.8.0/Spreadsheet/WriteExcel/Workbook.pm line 553.
Wed Oct 15 06:55:33 2003
jmcnamara [...] cpan.org - Taken
Wed Oct 15 07:02:04 2003
jmcnamara [...] cpan.org - Status changed from 'new' to 'open'
Wed Oct 15 07:45:34 2003
jmcnamara [...] cpan.org - Status changed from 'open' to 'new'
Wed Jan 07 02:44:24 2004
Guest - Correspondence added
[guest - Wed Oct 15 05:47:43 2003]:
Show quoted text> #!/usr/bin/perl -w
> use strict;
> use Spreadsheet::WriteExcel;
>
> print $Spreadsheet::WriteExcel::VERSION, "\n";
> my $xls = Spreadsheet::WriteExcel->new( "output.xls" );
> $xls->close();
>
> __END__
>
> output:
>
> 0.42
> Can't use an undefined value as a HASH reference at
> /usr/local/lib/perl5/site_perl/5.8.0/Spreadsheet/WriteExcel/Workbook.
pm
Show quoted text> line 553.
hello.
to repair this error you should install WriteExecl in your system . (
Not Copy Source & paste it!) . read install document & run level to
level.
it was too easy.
Amir Sadeghi
Iran,Tehran
sadeghi@amnafzar.com