Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^3: CPAN Testers command-line viewer

by toolic (Bishop)
on Jun 27, 2012 at 15:10 UTC ( #978691=note: print w/replies, xml ) Need Help??

in reply to Re^2: CPAN Testers command-line viewer
in thread CPAN Testers command-line viewer

Mine is older than yours:
perl -MYAML::Any -E'say YAML::Any->implementation, q( ), YAML::Any->im +plementation->VERSION' YAML::XS 0.34

Does that qualify as ancient?

The first thing I did when I saw my error message was to check the version of YAML::Any which was installed. Since it was older than CPAN (0.72 vs. 0.81), I updated it:

cpan YAML::Any

This apparently only updates the pure Perl code in the distribution (unless I answered prompts wrong, if there were any... I don't remember). This is what I get:

perl -MYAML::Any -E'say YAML::Any->VERSION' 0.81

So, how do I get the latest YAML::XS?

Replies are listed 'Best First'.
Re^4: CPAN Testers command-line viewer
by tobyink (Abbot) on Jun 27, 2012 at 15:42 UTC

    Pre-0.21 would have been too old, but 0.34 seems fine. YAML::XS is part of the YAML-LibYAML distribution.

    But anyhoo, I've now swapped to JSON, so no more hassle.

    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

      The change to JSON fixed it for me too. BTW, I had 0.81 of YAML already.

Re^4: CPAN Testers command-line viewer
by zwon (Abbot) on Jun 28, 2012 at 11:57 UTC
    YAML::XS 0.34
    You should upgrade, this one is heavily leaking memory. rt://46172