Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: CPAN Testers command-line viewer

by tobyink (Abbot)
on Jun 27, 2012 at 15:00 UTC ( #978687=note: print w/replies, xml ) Need Help??


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

Are you perhaps using a fairly ancient version of YAML::XS?

What's the output of this?

perl -MYAML::Any -E'say YAML::Any->implementation, q( ), YAML::Any->im +plementation->VERSION'

Mine is YAML::XS 0.38.

I suppose this is the downside of YAML::Any. :-(

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

Replies are listed 'Best First'.
Re^3: CPAN Testers command-line viewer
by toolic (Bishop) on Jun 27, 2012 at 15:10 UTC
    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?

      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.

      YAML::XS 0.34
      You should upgrade, this one is heavily leaking memory. rt://46172

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://978687]
help
Chatterbox?
[choroba]: hm... seems ok again
[Corion]: At least back in the day Firefox (well, Netscape) used to cache the DNS itself because there was no OS API to asynchronously resolve names (?) Maybe that code still lives on
[Corion]: Mhmm. Our datawarehouse is named after the department, except that the department changed its name one year ago. Now I guess I'm looking for the moral equivalent of "THE Datawarehouse", where "THE" stands for "Traditional High-valued Expertise" ;)

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2017-07-26 08:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (386 votes). Check out past polls.