Log::Report, where Log::Dispatch meets Locale::TextDomain

Log::Report, where Log::Dispatch meets Locale::TextDomain

By Mark Overmeer (‎markov‎) from Arnhem.pm, Amsterdam.pm
Date: Tuesday, 28 August 2007 14:20
Duration: 40 minutes
Target audience: Any
Language:


Traditionally, Perl has a very limited way of expressing that something is going wrong: either warn or die. Syslog, as example, has a more fine-grained way to say how serious the problems are. In Log::Report, the programmer of a module only produces the message and an indication about why the message is produced. Only on the level of the main program, the decision is made who to inform and how, in which language and what character-set.

Log::Report integrates Locale::TextDomain and Log::Dispatch syntax, to get a more homogeneous cooperation of modules. PPI is used to collect translatable strings.



Copyright © 2003-2007 Verein 'Vienna.pm - Verein zur Förderung der Programmiersprache Perl'.
To contact the organisers send an email to vienna2007@yapceurope.org
Impressum