From your scratchpad:

Undefined subroutine &main::main:: called at /usr/local/share/perl/5.14.2/YAML/Mo.pm line 5.

That would seem to be the trouble. I'd probably start by cd'ing to the File-ShareDir-Install-0.05 build directory, running 'dmake realclean', 'perl Makefile.PL', 'make test' and 'sudo make install'.
If any of those commands result in the same "Undefined subroutine..." warning/error and prevent the successful running of 'sudo make install', then it's time to take a look at at YAML. What version of YAML do you have ? Is there a later version you can try ?

Once you get File-ShareDir-Install installed, try re-running your original cpanm command and see what happens.

UPDATE: File-ShareDir-Install-0.05 builds, tests and installs ok for me on Windows. There's some noise about not being able to remove various tlib\lib\auto\share\module\ directories, but that's nothing to worry about.

Cheers,
Rob

In reply to Re: In order to run old version Catalsyt, install Module ;and catalyst.pl dosen't work by syphilis
in thread In order to run old version Catalsyt, install Module ;and catalyst.pl dosen't work by Thai Heng

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.