NAME

Ubic::Result - common return value for many ubic interfaces

VERSION

version 1.17

SYNOPSIS

use Ubic::Result qw(:all);

sub start {
    ...
    return result('broken', 'permission denied');
    ...
    return result('running');
    ...
    return 'already running';
}

FUNCTIONS

result($type, $optional_message)

Construct Ubic::Result::Class instance.

SEE ALSO

Ubic::Result::Class - result instance.

AUTHOR

Vyacheslav Matjukhin <mmcleric@yandex-team.ru>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Yandex LLC.

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