Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2018-04-23 02:58 GMT
Find Nodes?
    Voting Booth?