Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Mortal Kombat!

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

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 } 1;
Now you can use flawless victory; instead of exit 0;, and fatality instead of die.

Replies are listed 'Best First'.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2026-02-09 09:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.