G'day Peamasii,

"We have a new system which is very similar and where I installed all the required modules."

There is a small problem (it looks like it's just a typo) with this module on CPAN that others have fallen foul of: perhaps it's snagged you also.

The module Inline::File is part of the Inline-Files-0.62 distribution and starts with this code:

package Inline::Files; $VERSION = '0.62';

The module Inline::Files is part of the Inline-Files-0.69 distribution and starts with this code:

package Inline::Files; $VERSION = '0.69';

So, regardless of whether you attempted to install Inline::File or Inline::Files, the output would show Inline::Files being installed. Unless you'd paid particular attention to the version number, it's unlikely you would have noticed the difference. This is the problem others have encountered in the past.

If any code with "use Inline::Files" is working differently to how it did elsewhere, the first thing I check is the version. You may need to install a different version; although, in general, the newer version is preferable.

— Ken


In reply to Re: unusual behaviour with Inline-Files and IO-Handle by kcott
in thread unusual behaviour with Inline-Files and IO-Handle by Peamasii

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.