Re: Class::Dataset

2007-09-20 Thread Ovid
--- Ovid [EMAIL PROTECTED] wrote:

 I want a generic dataset reporting tool which allows
 me to:
 
   * Specify a raw attribute to be rendered
   * Specify virtual attributes to be calculated
   * Validates that added records match attributes
   * Optionally accepts a TT template for custom rendering

FYI:  for any who might be curious, Data::Report does most of what I'm
looking for.  Searching for 'report' should have been obvious.

Cheers,
Ovid

--
Buy the book  - http://www.oreilly.com/catalog/perlhks/
Perl and CGI  - http://users.easystreet.com/ovid/cgi_course/
Personal blog - http://publius-ovidius.livejournal.com/
Tech blog - http://use.perl.org/~Ovid/journal/


[ANNOUNCE] Test::Builder/More/Simple 0.72

2007-09-20 Thread Michael G Schwern
This release unfixes a bug.  0.71 fixed a bug where if you ran a use_ok()
inside a BEGIN block without a plan it would silently fail and the test would
continue.  For example...

use Test::More;

plan tests = 10;

BEGIN { use_ok(Some::Module) }

It looks like you planned before the use_ok() test ran, but it's actually run
afterwards because of the BEGIN block.

This turned out to be a pretty common mistake effecting a couple dozen CPAN
modules.  This means the new Test::More causes a bunch of test suites that
previously worked fine to fail.

You tried to run a test without a plan at - line 5.
BEGIN failed--compilation aborted at - line 5.
# Looks like your test died before it could output anything.

Because of this I'm TEMPORARILY rolling the fix back at least a week to give
CPAN authors a little breathing room to make their fixes.  The fix is usually
to plan in a BEGIN block.


0.72  Wed Sep 19 20:08:07 PDT 2007
Bug unfixes
* The BEGIN { use_ok } fix for [rt.cpan.org 28345] revealed a small pile
  of mistakes in CPAN module test suites.  Rolling the fix back to give
  the authors a bit of time to fix their tests.

0.71  Thu Sep 13 20:42:36 PDT 2007
Bug fixes
- Fixed a problem with BEGIN { use_ok } silently failing when there's no
  plan set.  [rt.cpan.org 28345]  Thanks Adriano Ferreira and Yitzchak.
- Fixed an obscure problem with is_deeply() and overloading ==
  [rt.cpan.org 20768].  Thanks Sisyphus.

Test fixes
- Removed dependency on Text::Soundex [rt.cpan.org 25022]
- Fixed a 5.5.x failure in fail-more.t
* Got rid of the annoying sort_bug.t test that revealed problems with some
  threaded perls.  It was testing the deprecated eq_* functions and not
  worth the bother.  Now it tests is_deeply().  [rt.cpan.org 17791]

Doc fixes
- Minor POD mistake in Test::Builder [rt.cpan.org 28869]
* Test::FAQ has been updated with some more answers.

Install fixes
- Fixed the LICENSE is not a known MakeMaker parameter name warning
  on older MakeMakers for real this time.


-- 
Stabbing you in the face so you don't have to.



Re: [ANNOUNCE] Test::Builder/More/Simple 0.72

2007-09-20 Thread chromatic
On Wednesday 19 September 2007 22:46:19 Ovid wrote:

 This has happened a couple of times now.  Why don't you use release
 devel versions so that these issues become less serious in the future?

In your experience, do devel versions get the kind of testing that would catch 
these issues sufficiently?

In my experience, they don't.

-- c


Re: [ANNOUNCE] Test::Builder/More/Simple 0.72

2007-09-20 Thread Ovid
--- chromatic [EMAIL PROTECTED] wrote:

 On Wednesday 19 September 2007 22:46:19 Ovid wrote:
 
  This has happened a couple of times now.  Why don't you use release
  devel versions so that these issues become less serious in the
 future?
 
 In your experience, do devel versions get the kind of testing that
 would catch these issues sufficiently?
 
 In my experience, they don't.

For something as high profile as Test::Simple, it would get much more
exposure than most modules.  Plus, there wasn't much in the changelog
which suggested this was a rush OMG Must Deliver Now sort of change (it
had been six months since the last release).

And it would be nice to have this run against a substantial portion of
a minicpan install since breaking the toolchain is a very, very bad
thing to do (as Schwern as *repeatedly* pounded into my head :)

Cheers,
Ovid

--
Buy the book  - http://www.oreilly.com/catalog/perlhks/
Perl and CGI  - http://users.easystreet.com/ovid/cgi_course/
Personal blog - http://publius-ovidius.livejournal.com/
Tech blog - http://use.perl.org/~Ovid/journal/


Re: [ANNOUNCE] Test::Builder/More/Simple 0.72

2007-09-20 Thread chromatic
On Thursday 20 September 2007 00:15:31 Ovid wrote:

  In your experience, do devel versions get the kind of testing that
  would catch these issues sufficiently?
 
  In my experience, they don't.

 For something as high profile as Test::Simple, it would get much more
 exposure than most modules.

I dunno.  Something as high profile as a bleadperl release (or a maintperl RC) 
doesn't get much testing.  I have my doubts that most dev releases get *any* 
attention.

-- c


Re: [ANNOUNCE] Test::Builder/More/Simple 0.72

2007-09-20 Thread Ovid
--- Michael G Schwern [EMAIL PROTECTED] wrote:

 Because of this I'm TEMPORARILY rolling the fix back at least a week
 to give
 CPAN authors a little breathing room to make their fixes.  The fix is
 usually to plan in a BEGIN block.

This has happened a couple of times now.  Why don't you use release
devel versions so that these issues become less serious in the future?

Cheers,
Ovid

--
Buy the book  - http://www.oreilly.com/catalog/perlhks/
Perl and CGI  - http://users.easystreet.com/ovid/cgi_course/
Personal blog - http://publius-ovidius.livejournal.com/
Tech blog - http://use.perl.org/~Ovid/journal/