Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Spreadsheet-ParseExcel CPAN distribution.

Maintainer(s)' notes

If you are reporting a bug in Spreadsheet::ParseExcel 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(

    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;


3) Upgrade to the latest version of Spreadsheet::ParseExcel (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 example program that demonstrates your problem. The program should be as small as possible. A few lines of codes are worth tens of lines of text when trying to describe a bug.

5) Supply an Excel file that demonstrates the problem. This is very important. If the file is big, or contains confidential information, try to reduce it down to the smallest Excel file that represents the issue. If you don't wish to post a file here then send it to me directly:

6) Say if the test file was created by Excel, OpenOffice, Gnumeric or something else. Say which version of that application you used.

7) If you are submitting a patch you should check with the maintainer 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::ParseExcel Google Group.

Report information
The Basics
Id: 31380
Status: resolved
Priority: 0/
Queue: Spreadsheet-ParseExcel

Owner: Nobody in particular
Requestors: jmcnamara [...]

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

Subject: Spreadsheet::ParseExcel::SaveParser doesn't pre-load Spreadsheet::ParseExcel
Download (untitled) / with headers
text/plain 291b
The Spreadsheet::ParseExcel::SaveParser module doesn't work because it fails to load Spreadsheet::ParseExcel. The basic.t test doesn't catch this due to the ordering of the tests. Attached is a patch for basic.t to highlight the problem and a patch for to fix it. John. --
Subject: basic_t.txt
Download basic_t.txt
text/plain 746b
--- C:\Temp\Spreadsheet-ParseExcel-0.31\t\basic.t Thu May 3 03:18:32 2007 UTC +++ C:\Temp\Spreadsheet-ParseExcel-0.32_patch\t\basic.t Tue Dec 9 23:59:00 2007 UTC @@ -4,6 +4,11 @@ use Test::More tests => 8; +SKIP: { + eval "use Spreadsheet::WriteExcel"; + skip "Need Spreadsheet::WriteExcel for additional tests", 1 if $@; + use_ok('Spreadsheet::ParseExcel::SaveParser'); +} use_ok('Spreadsheet::ParseExcel'); use_ok('Spreadsheet::ParseExcel::Dump'); @@ -23,11 +28,6 @@ use_ok('Spreadsheet::ParseExcel::FmtUnicode'); } -SKIP: { - eval "use Spreadsheet::WriteExcel"; - skip "Need Spreadsheet::WriteExcel for additional tests", 1 if $@; - use_ok('Spreadsheet::ParseExcel::SaveParser'); -}
Subject: saveparser_pm.txt
Download saveparser_pm.txt
text/plain 1.1k
--- C:\Temp\Spreadsheet-ParseExcel-0.31\lib\Spreadsheet\ParseExcel\ Thu May 3 03:18:32 2007 UTC +++ C:\Temp\Spreadsheet-ParseExcel-0.32_patch\lib\Spreadsheet\ParseExcel\ Tue Dec 9 23:28:46 2007 UTC @@ -7,9 +7,9 @@ #============================================================================== # Spreadsheet::ParseExcel::SaveParser::Workbook #============================================================================== +use Spreadsheet::ParseExcel; package Spreadsheet::ParseExcel::SaveParser::Workbook; use strict; -use warnings; use base 'Spreadsheet::ParseExcel::Workbook'; our $VERSION = '0.06'; @@ -328,7 +328,6 @@ #============================================================================== package Spreadsheet::ParseExcel::SaveParser::Worksheet; use strict; -use warnings; use base 'Spreadsheet::ParseExcel::Worksheet'; our $VERSION = '0.06'; @@ -361,7 +360,6 @@ #============================================================================== package Spreadsheet::ParseExcel::SaveParser; use strict; -use warnings; use Spreadsheet::WriteExcel; use base 'Spreadsheet::ParseExcel';
Fixed in version 0.41. John. --

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to