Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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.

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://821641]
help
Chatterbox?
[Discipulus]: LA something a little more perlish? @mts = map {qx!mp3info -p $_!} glob '/path/*.mp3 (hazarded code)
[Discipulus]: many monks want to be hired tonight, other haired and some aired
[Lady_Aleena]: Discipulus, do glob recurse?
[Lady_Aleena]: s/do/does/;
LanX wants to be fired
[Discipulus]: i fear no
[Discipulus]: i invented also 'gired'

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2017-04-23 20:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.