Read data from an Excel 2007+/XLSX format file.
Switch branches/tags
Nothing to show
Latest commit 3b576a5 Oct 17, 2016 @jmcnamara Fix for XXE vulnerability.
Issue #10.
Failed to load latest commit information.
lib/Excel/Reader Fix for XXE vulnerability. Oct 17, 2016
t Fix make test error. Apr 5, 2016
.travis.yml Added TravisCI file. Apr 16, 2016
Changes Initial documentation. Mar 12, 2012
MANIFEST First commit. Jan 2, 2012
Makefile.PL Initial documentation. Mar 12, 2012
README Updated README. Apr 18, 2014



This project is effectively abandoned. I don't have the required time
to finish it off and get it to CPAN quality.

It is functional and if it meets your requirements then please use it but
it is unlikely that it will ever be extended.

As an alternative have a look at the Spreadsheet::ParseXLSX
module which is on CPAN.


    Excel::Reader::XLSX - Read data from an Excel 2007+/XLSX format file.


    Excel::Reader::XLSX is a fast and lightweight parser for Excel 2007+
    XLSX files.

    The XLSX format is the Office Open XML (OOXML) format used by Excel 2007
    and later.


    A simple Excel XLSX file reader based on Excel::Reader::XLSX:

    use strict;
    use warnings;
    use Excel::Reader::XLSX;

    my $reader   = Excel::Reader::XLSX->new();
    my $workbook = $reader->read_file( 'Book1.xlsx' );

    if ( !defined $workbook ) {
        die $reader->error(), "\n";

    for my $worksheet ( $workbook->worksheets() ) {

        my $sheetname = $worksheet->name();

        print "Sheet = $sheetname\n";

        while ( my $row = $worksheet->next_row() ) {

            while ( my $cell = $row->next_cell() ) {

                my $row   = $cell->row();
                my $col   = $cell->col();
                my $value = $cell->value();

                print "  Cell ($row, $col) = $value\n";


    Use the standard Unix style installation. Unzip and untar the module:

        tar -zxvf Excel-Reader-XLSX-0.xx.tar.gz

    The module can be installed using the standard Perl procedure:

        perl Makefile.PL
        make test
        make install    # As sudo/root


    John McNamara (