Jesse Vincent > Prophet-0.69_01 > Prophet::App

Download:
Prophet-0.69_01.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  5
Open  2
View/Report Bugs
Source   Latest Release: Prophet-0.751

NAME ^

Prophet::App

SYNOPSIS ^

METHODS ^

BUILD

default_replica_type

Returns a string of the the default replica type for this application.

local_replica_url

Returns the URL of the current local replica. If no URL has been provided (usually via $ENV{PROPHET_REPO}), returns undef.

require

try_to_require

_require

already_required class

Helper function to test whether a given class has already been require'd.

log $MSG

Logs the given message to STDERR (but only if the PROPHET_DEBUG environmental variable is set).

log_fatal $MSG

Logs the given message and dies with a stack trace.

display_name_for_replica UUID

Returns a "friendly" id for the replica with the given uuid. UUIDs are for computers, friendly names are for people. If no name is found, the friendly name is just the UUID.

syntax highlighting: