Casey West


Acme::Rant - Extends Perl's Ability to Let You Rant


    use Acme::Rant;

    my (@#%@-ing @list) = qw[foo];

    print the $#@%-ing @list, "\n";

    if ( $list[0] eq 'foo' ) {
        !*%^-you() and @#%-me ;

    if ( @list < 2 ) {
        die what the @#$%, RANT {
            What the heck do you think you're doing?!


Acme::Rant implements an infinite (well, max(N) for very large values of N) number of functions that are exported by default. Each of these functions give you a unique ability to vent Acme::Rant over your code.


If the function is called with parameters, those parameters will be returned in a list. If your function was called with zero parameters, it will return true. Remember that these are functions and may require parenthesis to disambiguate meaning and context.


Context is a bit different for these venting functions. Void context refers to an instance when your frustrations should not do anything, most often when venting just after keywords like my, use, sub, and so on. Other contexts work as described in "Parameters".


The core functions are named with the following list of characters.


The core function name may have a suffix of any alpha characters, denoted by a leading dash (-).


There are a number of possibilities for prefixing the core function name. First is the word the which may itself be prefixed by one of the six questions who, what, when, why, how, and where.

    the #@$%?
    what the %@#$
    why the &^%@-ing $dog

The possible combinations are most certainly not endless, but it will take a while to get there.


You may go futher off the deep end by ranting at will. It is an excellent form of documentation.

    RANT {
        So, you decided it would be a good idea to return undef
        from your method call and make me lookup a package
        variable to get the data?!  You so stupid!


Like so many modules, this has been inspired by Damian Conway. Not only inspired, but concieved, thunk up, all but written by Damian Conway.

    what the #!@$, RANT {


Casey West, <>


Copyright (c) 2003 Casey West <>. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.