Hi:
I'm a pascal programmer. I use FreePascal, wich is multiplataform, almost as Perl. FPC (FreePascal) can link programs with external libraries (.so, .dll, .obj, etc.). The only thing that a pascal programer needs is a library with the C calling convention as an interface.

My question to the great gurus at the monastery is : Can I link my program to a perl module ?

I have to solve this problem: my program writes csv files. Excel can read this files, but I canīt put colours or formulas in my csv file. I saw a perl module, Spreadsheet::WriteExcel. Maybe porting the source code of this module to pascal is a good idea, but I have no time to do this now. So, I would like to use this great module to write my own xls files, without the need of text2xls.pl frontend.

Thank you very much, you powerpuf gurus...

janitored by ybiC: Retitle from "Linking" because one-word nodetitles are wrongjustwrong, and minor format tweaks for legibility


In reply to Linking to Perl from Pascal by Anonymous Monk

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, details, 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, summary, 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.