Hi!

You might wonder why cpants.perl.org is still down, even though I found 
some time to work on it.

Here's why:

Some dists (eg Number::Phone) currently cause segfaults in cpants [Meta: 
I changed a few things in how cpants processes CPAN. In a first pass, 
cpants writes a YAML file for each dist  containing all the info. In the 
second pass, the YAML files are read and stored into the DB)

I tracked the problem down to this: Pod::Simple::Checker (and Test::Pod) 
report very strange things when run against eg. Number::Phone. This 
semi-garbage is then stored in a yaml file. Which works. But during the 
second pass, YAML doesn't eat it's own dog food and segfaults while 
parsing the yaml.

I'm not sure if the problem is caused by some dists liek Number::Phone, 
or by Pod::Simple::Checker (YAML for sure is causing the segfaults, but 
I'd definitly want to correct the data, too)

I've put one of the problematic files up here:
http://cpants.perl.org/static/Number-Phone-1.58.yml
(look for the line starting with 'pod_errors_msg')

To see YAML expolode, try:
perl -MYAML=LoadFile -le 'LoadFile("Number-Phone-1.58.yml")'

I'm currently working on a hackish workaround, but I think this might be 
a bug somewhere that's worth squashing. Now I (or we) only need to 
figure out where the problem lies.

BTW, adding a run-of-the-mill pod.t to Number-Phone also yields some 
interesting results (loads of garbage output)

-- 
#!/usr/bin/perl                              http://domm.plix.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}

Reply via email to