Acme::Godot - Nothing to be done


Acme-Godot documentation Contained in the Acme-Godot distribution.

Index


Code Index:

NAME

Top

Acme::Godot - Nothing to be done

VERSION

Top

This document describes Acme::Godot version 0.1.1

SYNOPSIS

Top

    use Acme::Godot;




DESCRIPTION

Top

This module will make your program wait for Godot.

INTERFACE

Top

Acme::Godot does not have an interface, and need only to be used by another program in order to start waiting.

DIAGNOSTICS

Top

(Program apparently hanging)

Everything is OK. Your program is successfully waiting for Godot. He'll probably be here soon.

(Program exited unexpectedly)

Godot may have arrived. Have you checked? If he's not here, start your program again.

CONFIGURATION AND ENVIRONMENT

Top

Acme::Godot requires no configuration files or environment variables, but the end user of this program is advised to make use of available assistive tools and methods in order to make the waiting for Godot more pleasant.

DEPENDENCIES

Top

You might want to warn people dependent on you that you're about to use this module.

INCOMPATIBILITIES

Top

None reported. We're still waiting for Godot to bring the test reports.

BUGS AND LIMITATIONS

Top

No bugs have been reported. Where's Godot with the bug reports?

ACKNOWLEDGEMENTS

Top

Thanks to mr. Rune Sandnes for the inspiration.

AUTHOR

Top

Salve J. Nilsen <sjn@cpan.org>

LICENCE AND COPYRIGHT

Top

DISCLAIMER OF WARRANTY

Top

BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.


Acme-Godot documentation Contained in the Acme-Godot distribution.

#This is a -*- perl -*- module file
#
# Copyright (c) 2007 Salve J. Nilsen
#

use strict;
package Acme::Godot;

use version; our $VERSION = qv(0.1.1)->numify;

# Module implementation here

BEGIN {
    eval {
        sub _waiting_for_godot {
            sleep 60 * 60 * 24;        # Act 1 - the first day
            sleep 60 * 60 * 24 * 365;  # Intermission. Get your snacks!
            sleep 60 * 60 * 24;        # Act 2 - the second day
        }

        sub _godot_has_arrived {
            0;  # Nowhere to be seen.
        }
    };

    PLAY: while (! _godot_has_arrived() ) {
        _waiting_for_godot();
        redo PLAY unless _godot_has_arrived();
    }
    continue {
        exit;    # The play is over! Godot is here!
    }
}


1; # End of Acme::Godot 
__END__