Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2021-12-01 01:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?