In short, this is a perl and module installation error more than something to do with the code.

You need a newer (Update: or fixed) version of something, and that something is probably a module. Updated: Whenever you see VERSION or a version number mentioned in an error, you either have an older version of something installed than what you need, or a module is installed incorrectly.

It could be something called like this:

use <ModuleName> <version.number>;
or
use <ModuleName> <version.number> qw( import these things );
Update:or it could mean a module is completely broken in your installation.

Update: The next section doesn't help with module installations being completely broken, which as ikegami points out is the culprit here.

See use and maybe require. Especially the part where the docs for use() state:
If the VERSION argument is present between Module and LIST, then the "use" will call the VERSION method in class Module with the given version as an argument. The default VERSION method, inherited from the UNIVERSAL class, croaks if the given version is larger than the value of the variable $Module::VERSION.

Your particular issue appears (from a glance) to be with IO::Scalar, but the same issue happens with different modules, so the method is more important in the long run than the specifics. It appears further that from a quick look as IO::Scalar's docs on CPAN that it is part of the IO::Stringy package. Update: My glance was wrong. It's PerlIO::scalar in question, as ikegami pointed out.

Update: as ikegami points out, you can't just copy files around without paying attention to some restraints. Doing so will break things and give you this type of error.


In reply to Re: Receiving Error when running script by mr_mischief
in thread Version Conflict and XSLoader by almaler

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.