Prophet::App(3pm)

Prophet::App3pm

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.

Releases

Unchanged in 2 releases since Debian 6.0 (Squeeze).

  1. 6.0–7

From libprophet-perl 0.743-1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.