José Alves de Castro > Acme-PricelessMethods-0.01 > Acme-PricelessMethods

Download:
Acme-PricelessMethods-0.01.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

Acme-PricelessMethods - Acme-PricelessMethods

VERSION ^

This document describes Acme-PricelessMethods version 0.01

SYNOPSIS ^

    use Acme::PricelessMethods;

    my $acmer = Acme::PricelessMethods->new;

    $acmer->universe_still_exists() or exit;

DESCRIPTION ^

Signing up on Perlmonks... free...

Learning Perl... $40...

Attending a YAPC... $100...

Perl training at a YAPC... $200...

Being able to create this module... Priceless...

INTERFACE ^

Program Interface

new

Creates a new Acme-PricelessMethods object.

    my $acmer = Acme-PricelessMethods->new();

is_perl_installed

Returns true if perl is available somewhere.

    if ( $acmer->is_perl_installed ) {
        # do something with perl
    }

is_machine_on

Returns true if the mochine is on.

    if ( $acmer->is_machine_on ) {
        # do something with the machine
    }

universe_still_exists

Returns true if universe still exists.

    if ( $acmer->universe_still_exists ) {
        # do something with universe
    }

is_program_running

Returns true if the program is running.

    if ( $acmer->is_program_running ) {
        # do something
    }

is_time_moving_forward

Returns true if time is moving forward.

    if ( $acmer->is_time_moving_forward ) {
        # do something
    }
    else {
        # undo something (might not work if time is stopped)
    }

is_true_true

Returns true if true is true.

    if ( $acmer->is_true_true ) {
        # use true
    }

AUTHOR ^

Jose Castro <cog@cpan.org>

LICENCE AND COPYRIGHT ^

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: