Skip Menu |

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(

    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::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.

Report information
The Basics
Id: 122273
Status: new
Priority: 0/
Queue: Spreadsheet-WriteExcel

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

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

From: gregoa [...]
Subject: libspreadsheet-writeexcel-perl: uses deprecated POSIX::tmpnam()
Download (untitled) / with headers
text/plain 979b
We have the following bug reported to the Debian package of Spreadsheet-WriteExcel ( It doesn't seem to be a bug in the packaging, so you may want to take a look. Thanks! ------8<-----------8<-----------8<-----------8<-----------8<----- Package: libspreadsheet-writeexcel-perl Version: 2.40-1 Severity: normal User: Usertags: perl-5.26-transition This package uses POSIX::tmpnam(), deprecated in Perl 5.22 and removed in 5.26 (currently in experimental.) lib/Spreadsheet/WriteExcel/ $tmp_dir = "POSIX::tmpnam() directory" if not $fh; lib/Spreadsheet/WriteExcel/ $tmp_dir = "POSIX::tmpnam() directory" if not $fh; It looks like this is fallback code that might not be active so filing at 'normal' for now. -- Niko Tyni ------8<-----------8<-----------8<-----------8<-----------8<----- Thanks for considering, gregor herrmann, Debian Perl Group

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

Please report any issues with to