Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Depending on your requirements, simple .csv files can also do parts of the job, as .csv files can also contain formulas. But there are certain pitfalls that have to be considered :

  • No Graphics, Links, fancy stuff
  • Different language/country settings make Excel behave differently in opening a file via the menu vs. opening a file via a double-click.
  • Embedded list-separators within cells will give you fun encoding.

Here is a small sample .csv file for an Excel setup that matches mine, that is, ; is the list separator, , is the number group separator and . is the decimal separator. This setup is nonstandard for a german setup, as the german list separator is ;, but the german decimal separator is , and the german number group separator is .. You might have to munge the example to suit your needs, and you might also have to open this file in Excel via the File->Open method instead of just double-clicking on the file.

"Cell A1";"Cell B1";"Cell C1" "Cell A2";"Cell B2";"Cell C2" 6;7;666 "Here comes a formula";=A3*B3;"This should be 42"
perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The $d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider ($c = $d->accept())->get_request(); $c->send_response( new #in the HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web

In reply to Poor Man's Spreadsheet (was: Re: Spreadsheet::WriteExcel) by Corion
in thread Spreadsheet::WriteExcel by abaxaba

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others rifling through the Monastery: (3)
    As of 2020-07-05 21:10 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found

      Notices?