Changeset 11196 for lang/perl/Punc

Show
Ignore:
Timestamp:
05/06/08 13:20:39 (7 months ago)
Author:
mizzy
Message:

モジュールドキュメント修正

Location:
lang/perl/Punc/trunk/lib/Punc/Slave
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Punc/trunk/lib/Punc/Slave/Module.pm

    r11195 r11196  
    5151sub description { 
    5252    my $class = shift; 
    53     return `perldoc -t $class`; 
     53    return { result => `perldoc -t $class` || '' }; 
    5454} 
    5555 
  • lang/perl/Punc/trunk/lib/Punc/Slave/Module/Service.pm

    r11195 r11196  
    3333=head2 status({ service => 'service name' }) 
    3434 
    35 Show service status. 
     35Show service status.Following return values are expected. 
    3636 
     37=over 
     38 
     39=item result: 0 
     40 
     41Service is alive. 
     42 
     43=item result: not 0 
     44 
     45Service is dead. 
     46 
     47=item error: error string 
     48 
     49Error occurs.(e.g.: Service does not exist.) 
     50 
     51=back 
    3752 
    3853=cut