No description, website, or topics provided.
Shell C Makefile Perl 6 M4
Switch branches/tags
Nothing to show
Latest commit 9dd80a1 Nov 14, 2017 @spebern spebern version 2.0
Permalink
Failed to load latest commit information.
lib/Parser/FreeXL
stub initial commit Nov 28, 2016
t initial commit Nov 28, 2016
.gitignore ignore build stuff Nov 28, 2016
.travis.yml initial commit Nov 28, 2016
Build.pm Remove unneeded Build.pm dependencies Dec 21, 2016
LICENSE initial commit Nov 28, 2016
META6.json version 2.0 Nov 14, 2017
README.md remove some ws Nov 14, 2017

README.md

Build Status

NAME

Parser::FreeXL::Native - wrapper for freexl parsing .xls files

SYNOPSIS

use Parser::FreeXL::Native;

my Parser::FreeXL::Native $parser .= new;
$parser.open('file.xls');

my $sheet_count = $parser.sheet_count;

$parser.select_sheet(1);
$parser.select_sheet('sheet_1');

my @sheet_names = $parser.sheet_names;

my ($max_row, $max_col) = $parser.sheet_dimensions;

for ^$max_row -> $row {
    for ^$max_col -> $col {
        my $cell = $parser.get_cell($row, $col);
        # types: <int double text date datetime time>, Nil
        my $type  = $cell.type;
        my $value = $cell.value;

        # do something with type and value
    }
}

DESCRIPTION

Parser::FreeXL::Native is a parser for xls using the freexl c library

Windows support is planned. Currently the dll is missing.

AUTHOR

spebern bernhard@specht.net

COPYRIGHT AND LICENSE

Copyright 2016 spebern

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.