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

autodie.pm updates - 5 minute video tutorial included

From:
Paul Fenwick
Date:
May 31, 2008 22:55
Subject:
autodie.pm updates - 5 minute video tutorial included
Message ID:
484239A3.6030003@perltraining.com.au
G'day p5p,

Some time ago, I started discussing the idea of autodie (previously 
codenamed 'lethal'), a lexical version of Fatal that could be implemented 
now that Perl 5.10's %^H hash does wonderful things.

Despite a small period where I was distracted by other things, I'm back to 
working on autodie, as I'm quite eager to get it released.  To help 
facilitate that, I've done a couple of things:

* I've put my working repository on-line at:

	http://github.com/pfenwick/autodie/tree/master

   Feel free to clone it, play with it, and especially ask questions or make
   patches.  If you have a github account, and want commit access, ask.

* I've put my 5 minute talk about autodie on-line at:

	http://www.youtube.com/watch?v=9-nrwAUiIv8

   It's just like watching me talk at a Perl Mongers meeting, but the guy in
   the second row can't heckle all the way through.

The code at the moment should be considered a "work in progress", meaning 
it's ugly, filled with XXX and TODO's, is missing documentation, and 
contains undead horrors from Fatal's code generation routines.  Patches, 
questions, or just general encouragement welcome.  ;)

The on-line video contains a few things which aren't there quite yet, most 
notably:

	* We don't have 5.10.1, nor has autodie been released with it,
	  but I hope you'll all think it's a good enough idea that it
	  will be.  (It will also upgrade Fatal to have better error
	  messages and a proper exception hierarchy).

	* It's not yet on CPAN.  Since the autodie repository includes
	  (a very modified) Fatal.pm, I don't want to upload non-production
	  ready code that someone may install by accident.

	* The example with open giving a really nice error message
	  doesn't work yet, but will in around about an hour after I've
	  had a cup of tea and pushed my changes to the repository.

Feedback, questions, and patches of any sort is most welcome.

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



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