In theory perl is a PVM. However in reality I found Perl often less compatible then claimed on various forums and places.

The problem is not the core of Perl, but often the CPAN modules. A multitude depends on an specific underlying function call or program, often only found in the Linux world. The use of a XS interface, often present in the modules without any mention in the documentation, can really break portability.

I love programming in Perl but I don't claim any more that it is portable. I always say that minor work is most likely. I ran often enough in the same kind problems while porting a script developed on Linux to Windows.

So the grandparent has a point.

I would like to know from fellow monks what kind tips and tricks they have in store to avoid a maximum number of problems. Parallelism is such item where I'm very weary for potential problems when porting code.

my 2 cents

Martell


In reply to Re^2: why is there no a PVM for perl? by martell
in thread why is there no a PVM for perl? by xiaoyafeng

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.