develooper Front page | perl.perl5.porters | Postings from July 2008

[PATCH] autodie - Patches that the whole family can enjoy!

Thread Next
From:
Paul Fenwick
Date:
July 31, 2008 05:13
Subject:
[PATCH] autodie - Patches that the whole family can enjoy!
Message ID:
4891ABDB.1000503@perltraining.com.au
G'day p5p,

Now that OSCON is out of the way, I've had a moment to put together a patch 
against perl 5.11.0 for autodie.  It includes:

	* Update to MANIFEST
	* A new lib/Fatal.pm
	* A new lib/autodie.pm and supporting files
	* Oodles of tests in t/lib/autodie/
	* Update to perlmodlib.pod

I've almost certainly missed an important step, so any feedback on this 
patch is greatly appreciated.

Except for some compatibility tests in the test suite (to account for things 
being in core, and not a module), the code is identical to the 1.99 release 
on the CPAN.

Apologies for the collection of files.  I'm using git, and it loves to make 
a patch for every commit, and I like to commit whenever anything works. ;)

Right now all the tests except for autodie/recv.t pass for me under cygwin. 
  It looks like recv.t is dying early due to a problem with my cygwin copy 
of blead having forgotten the names of all the signals, and not autodie.

Feedback, ideas, tests, bugs, and bikeshedding all appreciated.  Patches 
against autodie, Fatal, or its tests are preferred (but not required) 
against my autodie repository which can be found at:

	http://github.com/pfenwick/autodie

For those die-hard bikeshedders who still want to change the name, there's 
already one test (lethal.t) that demonstrates how to give autodie back its 
old name, and a second (crickey.t) that makes it more compatible with the 
Australian work-ethic.

Cheerio,

	Paul

-- 
Paul Fenwick <pjf@perltraining.com.au> | http://perltraining.com.au/
Director of Training                   | Ph:  +61 3 9354 6001
Perl Training Australia                | Fax: +61 3 9354 2681

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About