Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

  (email not shown publicly)
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Saturday December 29, 2007
10:14 AM

Test::* and Class::CGI

[ #35236 ]

Just an FYI: I've uploaded new versions of both Test::JSON and Test::Aggregate. The former has no functional changes, but it works with both the new and old JSON interfaces. Test::Aggregate, on the other hand, has many new features and a brand new interface (the code is prominently labeled as Alpha, so I'm not too worried about this).

I also have a new version of Class::CGI on my hard drive. It passes all of the tests, but I need to finish the documentation. It now delegates to CGI::Simple instead of inheriting from it. Also, CGI::Simple is now optional. It will fall back on CGI if the former is not found. Plus, since I now use delegation instead of inheritance, you can use any code you want for handling form data and query parameters (Apache::Request, anyone?) This is the main thing this module needs to make it ready for production use.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Why not make Test::JSON use JSON::Any? Then you wouldn't have to worry about compat issues. It would also make it easier for people using JSON::Any to test their stuff with Test::JSON since JSON::Any would certainly choose the same JSON module. I know I have had to jump through hoops in the past to get Test::JSON and my JSON::Any based code to play well.

    Anyway, just a thought.

    - Stevan

    • You know, that sounds like a good thought. Looking into now (and I'm already getting plenty of test failures on the new upload, so JSON::Any is looking more appealing).

    • Done. Look for version 0.06. Thanks for the suggestion.