in reply to In order to run old version Catalsyt, install Module ;and catalyst.pl dosen't work

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
  • Comment on Re: In order to run old version Catalsyt, install Module ;and catalyst.pl dosen't work

Replies are listed 'Best First'.
Re^2: In order to run old version Catalsyt, install Module ;and catalyst.pl dosen't work
by tobyink (Canon) on Nov 29, 2013 at 07:25 UTC

    There was a new release of the YAML module a few days ago addressing this problem.

    use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name
      I reinstall YAML, all goes well.