Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/schwern/coy

The Coy module. Tranquility for your code. Errors are haiku.
https://github.com/schwern/coy

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

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 and
C (and C and C).

It also provides
C and C -- 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 or C 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

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