daily CPANTS data

2006-09-28 Thread Thomas Klausner
Hi! I finally managed to set up a (working...) cronjob that analyses the new dists uploaded in the last 24 hours. You can expect new data each day around 02:45 EDT. -- #!/usr/bin/perl http://domm.zsi.at for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.

Re: daily CPANTS data

2006-09-28 Thread Gabor Szabo
Great! I would also like to see e-mail sent out the the author when her module is analysed. Similarry to CPAN testers this should only go out in 'bad' cases to some arbitrary definition of 'bad' e.g: 1) a metric turned from good to bad since the last analysis 2) overall rate of the module is unde

Time to pack

2006-09-28 Thread Ovid
Can someone tell me why this test fails? #!/usr/bin/perl -l use strict; use warnings; use Test::More 'no_plan'; use Test::Differences; use Data::Dumper; my @data = qw(foo bar); ok my $data = pack('u', @data), 'packing data should succeed'; ok my @new_data = un

Re: Time to pack

2006-09-28 Thread jerry gay
On 9/28/06, Ovid <[EMAIL PROTECTED]> wrote: Can someone tell me why this test fails? your pack template is one item long. try C<'u*'> instead. ~jerry

Re: Time to pack

2006-09-28 Thread Ovid
From: jerry gay <[EMAIL PROTECTED]> > your pack template is one item long. try C<'u*'> instead. Still fails. use Test::More 'no_plan'; use Test::Differences; my @data = qw(foo bar); ok my $data = pack('u*', @data), 'packing data should succeed'; ok my @new_data = unpack('u*'

Re: Time to pack

2006-09-28 Thread Pete Krawczyk
[re-send for the mailing list] Subject: Time to pack From: Ovid <[EMAIL PROTECTED]> Date: Thu, 28 Sep 2006 07:23:37 -0700 (PDT) }ok my $data = pack('u', @data), 'packing data should succeed'; perldoc -f pack: * Each letter may optionally be followed by a number giv-

Re: Testing for test labels

2006-09-28 Thread Adrian Howard
On 27 Sep 2006, at 23:53, Christopher H. Laco wrote: [snip] Would it be possible, or even desirable to flip some sort of config to make this test all t files, or tell this policy that my test class eq 'Test::More' in this instance? [snip] Not that this wouldn't be a nice idea, but as another a

Re: Testing for test labels

2006-09-28 Thread Jonathan Rockway
> Override Test::Builder::ok to croak if it doesn't get a test name argument. > Package that up in a module and shim it in with PERL5OPT or > HARNESS_PERL_SWITCHES. I kind of dislike this approach. If my tests are failing, I want them to fail because my program is broken, not because my tests

Re: Testing for test labels

2006-09-28 Thread Adrian Howard
On 28 Sep 2006, at 22:37, Jonathan Rockway wrote: Override Test::Builder::ok to croak if it doesn't get a test name argument. Package that up in a module and shim it in with PERL5OPT or HARNESS_PERL_SWITCHES. I kind of dislike this approach. If my tests are failing, I want them to fail bec

Re: Send me unusual "make" error strings for CPAN::Reporter

2006-09-28 Thread Uwe Voelker
> If you have access to other platforms, please see what your "make" program > returns on failure and let me know. debian% make perl -e "die" Died at -e line 1. make: *** [all] Fehler 255 It's a Debian Etch with German locale. Running "LANG=C make" has the same result. debian% LANG=en make p

Re: Time to pack

2006-09-28 Thread Pete Krawczyk
Subject: Time to pack From: Ovid <[EMAIL PROTECTED]> Date: Thu, 28 Sep 2006 07:23:37 -0700 (PDT) }ok my $data = pack('u', @data), 'packing data should succeed'; perldoc -f pack: * Each letter may optionally be followed by a number giv- ing a repeat

Re: Send me unusual "make" error strings for CPAN::Reporter

2006-09-28 Thread David Golden
On 9/28/06, Uwe Voelker <[EMAIL PROTECTED]> wrote: debian% make perl -e "die" Died at -e line 1. make: *** [all] Fehler 255 It's a Debian Etch with German locale. Of course. Locales. It all seemed too easy. Time for plan B. David