schwern / coy

The Coy module. Tranquility for your code. Errors are haiku.

This URL has Read+Write access

schwern (author)
Tue May 26 12:55:38 -0700 2009
commit  3905d932d456de8325374f5fa4124016e8877bb5
tree    b94389c42b38ca478b6bff620d581fb64c5f7e8b
parent  894ef79cfe67e551947347e935d85636eaf0d1d9
coy /
name age message
file .gitignore Loading commit data...
file Changes
file MANIFEST
file Makefile.PL
file README
directory demo/
directory lib/
directory t/
README
==============================================================================
                        Coy.pm
==============================================================================

DESCRIPTION

  Error messages 
  strewn across my terminal. 
  A vein starts to throb. 

  Their reproof adds the 
  injury of insult to 
  the shame of failure. 

  When a program dies 
  what you need is a moment 
  of serenity. 

  The Coy.pm 
  module brings tranquillity 
  to your debugging. 

  The module alters 
  the behaviour of C<die> and 
  C<warn> (and C<croak> and C<carp>). 

  It also provides 
  C<transcend> and C<enlighten> -- two 
  Zen alternatives. 

  Like Carp.pm, 
  Coy reports errors from the 
  caller's point-of-view. 

  But it prefaces 
  the bad news of failure with 
  a soothing haiku. 

  The haiku are not 
  "canned", but are generated 
  freshly every time. 

  Once the haiku is 
  complete, it's prepended to 
  the error message. 

  Execution of 
  the original call to
  C<die> or C<warn> resumes. 

  Haiku and error
  message strew across my screen. 
  A smile starts to form. 



==============================================================================

AVAILABILITY

Coy has been uploaded to the CPAN and is also available from:

  https://github.com/schwern/coy/tree

==============================================================================