Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Mortal Kombat!

by japhy (Canon)
on Sep 24, 2000 at 07:17 UTC ( #33824=snippet: print w/ replies, xml ) Need Help??

Description: Spice up your Perl programs with some witty Mortal Kombat error routines. Guaranteed to wow your friends, or your money back!
package Mortal::Kombat;
require Exporter;
@ISA = qw( Exporter );
@EXPORT = qw( fatality );

sub fatality (@) { die @_ }
package victory;
sub flawless { exit }
Now you can use flawless victory; instead of exit 0;, and fatality instead of die.
Comment on Mortal Kombat!
Download Code
[untitled node, ID 62094]
by NodeReaper (Curate) on Mar 04, 2001 at 13:27 UTC

    Reason: (dep) : empty node (user edited to remove title and content)

    For more information on this node visit: this

Back to Snippets Section

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: snippet [id://33824]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2015-07-06 05:58 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (70 votes), past polls