|
NAMEUbic::Result - common return value for many ubic interfaces VERSIONversion 1.60 SYNOPSIS use Ubic::Result qw(:all);
sub start {
...
return result('broken', 'permission denied');
# or:
return result('running');
# or:
return 'already running'; # will be automagically wrapped into result object by Ubic.pm
}
FUNCTIONS
POSSIBLE RESULT TYPESThis is a full list of results which can be recognized by Ubic::Result::Class. Any other result will be interpreted as unknown. SEE ALSOUbic::Result::Class - result instance. AUTHORVyacheslav Matyukhin <mmcleric@yandex-team.ru> COPYRIGHT AND LICENSEThis software is copyright (c) 2016 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.
|