Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: YAML Parsing Errors Using CPAN on Windows

by Anonymous Monk
on Feb 05, 2010 at 19:57 UTC ( #821641=note: print w/replies, xml ) Need Help??

in reply to YAML Parsing Errors Using CPAN on Windows

I had the same problem. The solution was to make CPAN stop loading YAML, but I don't remember exactly how. Here's what o conf shows me for yaml vars:
yaml_load_code [undef] yaml_module []
I don't know how to undef a value from within CPAN, and perldoc isn't helpful for the shell, but I assume somebody here knows. As a last resort you could edit And don't forget to o conf commit to write any changes to disk from within the CPAN shell.

Replies are listed 'Best First'.
Re^2: YAML Parsing Errors Using CPAN on Windows
by Anonymous Monk on Jul 03, 2010 at 12:34 UTC
    from within cpan shell, enter: o conf yaml_module "" o conf commit
      - this appears to be mostly a permissions error (and YAML module error) under windows. <thus the unix'ie perl guys don't see this error.> The cpan error response is mostly unhelpful...but if you just rename the file, then cpan appears to fix itself. I was able to load/reload Yaml. This looks like a cpan/perl installation induced bug. If this file needs to be rename it should be installed in a location that has sufficient permissions...nuff said.

      - don't know what is up with the HTML::EP suggestion. That seems a bit pointless to install that module without a need...

      - oh, also, disabling yaml via o conf will not correct the problem until the FTPStats.yml file is renamed...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://821641]
[beech]: checking chatterbox sidebar
[beech]: and again a check on chatterbox sidebar, what is expandability

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2017-03-27 22:48 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (324 votes). Check out past polls.