Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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 CPAN.pm. And don't forget to o conf commit to write any changes to disk from within the CPAN shell.


Comment on Re: YAML Parsing Errors Using CPAN on Windows
Select or Download Code
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://821641]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2014-09-30 17:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (379 votes), past polls