GithubHelp home page GithubHelp logo

jmcnamara / spreadsheet-parseexcel Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 25.0 546 KB

Perl module to read Excel binary files

Home Page: http://search.cpan.org/~jmcnamara/Spreadsheet-ParseExcel/

Perl 98.81% HTML 1.19%

spreadsheet-parseexcel's People

Contributors

apla avatar dandv avatar dsteinbrunner avatar jmcnamara avatar ppisar avatar runrig avatar ruoso avatar tlhackque avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spreadsheet-parseexcel's Issues

Potential security issue

Hello 👋

I run a security community that finds and fixes vulnerabilities in OSS. A researcher (@haile01) has found a potential issue, which I would be eager to share with you.

Could you add a SECURITY.md file with an e-mail address for me to send further details to? GitHub recommends a security policy to ensure issues are responsibly disclosed, and it would help direct researchers in the future.

Looking forward to hearing from you 👍

(cc @huntr-helper)

sample/xls2csv.pl license

sample/xls2csv.pl file reads:

# (c) kevin Mulholland 2002, [email protected]
# This code is released under the Perl Artistic License

Here is missing the GPL option as is granted in other files of Spreadsheet-ParseExcel-0.66. Is that on a purpose, or is it just a mistake and the intended license is "GPL+ OR Artistic-1.0-Perl"?

regex 0-9 problem in Worksheets->write()

Hi, I'm japanese.
I found problem when using full-width numbers.

$worksheet->write('A1', '123456789', $id_format);

After, show message on my terminal.
「Argument "..." isn't numeric in addition (+) at ...」

So I thought the next of such a solution.
fix regex in write method

# Match number
elsif ( $token =~ /^([+-]?)(?=\d|\.\d)\d*(\.\d*)?([Ee]([+-]?\d+))?$/ ) {
    return $self->write_number( @_ );
}

to

# Match number
elsif ( $token =~/^([+-]?)(?=[0-9]|\.[0-9])[0-9]*(\.[0-9]*)?([Ee]([+-]?[0-9]+))?$/ ) {
    return $self->write_number( @_ );
}

Full-width numbers by converting from the "\d" to "[0-9]" is treated as a string, it will eliminate the error.
Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.