diff options
| author | fukachan <fukachan> | 2002-07-02 03:54:49 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2002-07-02 03:54:49 +0000 |
| commit | c415aa152c70916c43fa1c40dc9f6c7b4aeb8ae5 (patch) | |
| tree | 0b2a2f20af452a0327660a24dbc28cd90f12fbf8 /fml/lib/FML/Process | |
| parent | 0247179173c9194418669a5fbad651be2de393fa (diff) | |
| download | fml8-c415aa152c70916c43fa1c40dc9f6c7b4aeb8ae5.tar.gz fml8-c415aa152c70916c43fa1c40dc9f6c7b4aeb8ae5.tar.bz2 fml8-c415aa152c70916c43fa1c40dc9f6c7b4aeb8ae5.zip | |
clean up/fix comments
Diffstat (limited to 'fml/lib/FML/Process')
| -rw-r--r-- | fml/lib/FML/Process/Calender.pm | 12 | ||||
| -rw-r--r-- | fml/lib/FML/Process/Command.pm | 10 | ||||
| -rw-r--r-- | fml/lib/FML/Process/ConfViewer.pm | 16 | ||||
| -rw-r--r-- | fml/lib/FML/Process/DocViewer.pm | 24 | ||||
| -rw-r--r-- | fml/lib/FML/Process/HTMLify.pm | 6 | ||||
| -rw-r--r-- | fml/lib/FML/Process/ThreadTrack.pm | 6 |
6 files changed, 41 insertions, 33 deletions
diff --git a/fml/lib/FML/Process/Calender.pm b/fml/lib/FML/Process/Calender.pm index cf01a319..c15035b8 100644 --- a/fml/lib/FML/Process/Calender.pm +++ b/fml/lib/FML/Process/Calender.pm @@ -3,7 +3,7 @@ # Copyright (C) 2002 Ken'ichi Fukamachi # All rights reserved. # -# $FML: Calender.pm,v 1.4 2002/04/07 05:04:38 fukachan Exp $ +# $FML: Calender.pm,v 1.5 2002/06/01 02:22:06 fukachan Exp $ # package FML::Process::Calender; @@ -28,8 +28,8 @@ FML::Process::Calender -- demonstration of FML module usage =head1 DESCRIPTION FML::Process::Calender is a demonstration module to show fml module -usage. This module provides calender presentation for a simple -scheduler, Calender::Lite class. +usage. This module provides calender presentation as a simple +scheduler based on Calender::Lite class. =head1 METHODS @@ -62,7 +62,8 @@ sub new # Arguments: OBJ($curproc) HASH_REF($args) # Side Effects: none # Return Value: none -sub prepare { 1; } +sub prepare { 1;} + # Descriptions: dummy # Arguments: OBJ($self) HASH_REF($args) @@ -70,6 +71,7 @@ sub prepare { 1; } # Return Value: none sub verify_request { 1; } + # Descriptions: dummy # Arguments: OBJ($self) HASH_REF($args) # Side Effects: none @@ -120,7 +122,7 @@ sub run $schedule->print_specific_month($wh, $month); } } - # if "month" to show is specified as arguments, + # if "month" option is specified as an argument, # show the corresponding calender. elsif (defined(@$argv) && @$argv) { # ($month, $yeer) = @$argv; diff --git a/fml/lib/FML/Process/Command.pm b/fml/lib/FML/Process/Command.pm index c64cb55a..308e4133 100644 --- a/fml/lib/FML/Process/Command.pm +++ b/fml/lib/FML/Process/Command.pm @@ -3,7 +3,7 @@ # Copyright (C) 2000,2001,2002 Ken'ichi Fukamachi # All rights reserved. # -# $FML: Command.pm,v 1.61 2002/06/01 05:09:25 fukachan Exp $ +# $FML: Command.pm,v 1.62 2002/06/27 08:25:49 fukachan Exp $ # package FML::Process::Command; @@ -62,11 +62,13 @@ sub new =head2 C<prepare($args)> -forward the request to SUPER CLASS. +adjust ml_* and load configuration files. +parse the incoming message. =cut -# Descriptions: dummy +# Descriptions: adjust ml_* and load configuration files. +# parse the incomiung message. # Arguments: OBJ($curproc) HASH_REF($args) # Side Effects: none # Return Value: none @@ -194,7 +196,7 @@ _EOF_ =cut -# Descriptions: finalize command process. +# Descriptions: finalize the command process. # reply messages, command results et. al. # Arguments: OBJ($curproc) HASH_REF($args) # Side Effects: queue manipulation diff --git a/fml/lib/FML/Process/ConfViewer.pm b/fml/lib/FML/Process/ConfViewer.pm index e6c89737..460ccb9c 100644 --- a/fml/lib/FML/Process/ConfViewer.pm +++ b/fml/lib/FML/Process/ConfViewer.pm @@ -3,7 +3,7 @@ # Copyright (C) 2000,2001,2002 Ken'ichi Fukamachi # All rights reserved. # -# $FML: ConfViewer.pm,v 1.12 2002/06/27 08:25:49 fukachan Exp $ +# $FML: ConfViewer.pm,v 1.13 2002/06/30 01:23:55 fukachan Exp $ # package FML::Process::ConfViewer; @@ -18,13 +18,15 @@ use FML::Process::Kernel; =head1 NAME -FML::Process::ConfViewer -- show variables +FML::Process::ConfViewer -- show configuration variables =head1 SYNOPSIS use FML::Process::ConfViewer; $curproc = new FML::Process::ConfViewer; + ... $curproc->run(); + ... =head1 DESCRIPTION @@ -39,7 +41,7 @@ It make a C<FML::Process::Kernel> object and return it. =head2 C<prepare($args)> -dummy. +adjust ml_* and load configuration files. =cut @@ -57,7 +59,7 @@ sub new } -# Descriptions: dummy +# Descriptions: adjust ml_* and load configuration files. # Arguments: OBJ($self) HASH_REF($args) # Side Effects: none # Return Value: none @@ -133,9 +135,9 @@ See <FML::Process::Switch()> on C<$args> for more details. sub run { my ($curproc, $args) = @_; - my $config = $curproc->{ config }; - my $myname = $curproc->myname(); - my $argv = $curproc->command_line_argv(); + my $config = $curproc->{ config }; + my $myname = $curproc->myname(); + my $argv = $curproc->command_line_argv(); my $eval = $config->get_hook( 'fmlconf_run_start_hook' ); if ($eval) { diff --git a/fml/lib/FML/Process/DocViewer.pm b/fml/lib/FML/Process/DocViewer.pm index b76e17ba..862eaa21 100644 --- a/fml/lib/FML/Process/DocViewer.pm +++ b/fml/lib/FML/Process/DocViewer.pm @@ -3,7 +3,7 @@ # Copyright (C) 2000,2001,2002 Ken'ichi Fukamachi # All rights reserved. # -# $FML: DocViewer.pm,v 1.16 2002/04/07 05:05:06 fukachan Exp $ +# $FML: DocViewer.pm,v 1.17 2002/06/27 08:25:50 fukachan Exp $ # package FML::Process::DocViewer; @@ -26,14 +26,16 @@ FML::Process::DocViewer -- perldoc wrapper to show a fml module use FML::Process::DocViewer; $curproc = new FML::Process::DocViewer; + ... $curproc->run(); + ... =head1 DESCRIPTION FML::Process::DocViewer is the main routine of C<fmldoc> program. It wraps C<perldoc>. -See C<FML::Process::Flow> for program flow. +See C<FML::Process::Flow> for the program flow. =head1 METHODS @@ -44,7 +46,7 @@ It inherits C<FML::Process::Kernel>. =head2 C<prepare($args)> -dummy. +load default configuration files. =cut @@ -62,7 +64,7 @@ sub new } -# Descriptions: dummy +# Descriptions: load default configurations # Arguments: OBJ($self) HASH_REF($args) # Side Effects: none # Return Value: none @@ -90,7 +92,7 @@ sub prepare sub verify_request { my ($curproc, $args) = @_; - my $argv = $curproc->command_line_argv(); + my $argv = $curproc->command_line_argv(); my $config = $curproc->{ config }; my $eval = $config->get_hook( 'fmldoc_verify_request_start_hook' ); @@ -122,9 +124,9 @@ C<fmlconf($args)>. sub run { my ($curproc, $args) = @_; - my $config = $curproc->{ config }; - my $myname = $curproc->myname(); - my $argv = $curproc->command_line_argv(); + my $config = $curproc->{ config }; + my $myname = $curproc->myname(); + my $argv = $curproc->command_line_argv(); $curproc->_fmldoc($args); } @@ -137,9 +139,9 @@ sub run sub _fmldoc { my ($curproc, $args) = @_; - my $config = $curproc->{ config }; - my $myname = $curproc->myname(); - my $argv = $curproc->command_line_argv(); + my $config = $curproc->{ config }; + my $myname = $curproc->myname(); + my $argv = $curproc->command_line_argv(); my $eval = $config->get_hook( 'fmldoc_run_start_hook' ); if ($eval) { eval qq{ $eval; }; LogWarn($@) if $@; } diff --git a/fml/lib/FML/Process/HTMLify.pm b/fml/lib/FML/Process/HTMLify.pm index 7ea19818..3fc168fe 100644 --- a/fml/lib/FML/Process/HTMLify.pm +++ b/fml/lib/FML/Process/HTMLify.pm @@ -3,7 +3,7 @@ # Copyright (C) 2001,2002 Ken'ichi Fukamachi # All rights reserved. # -# $FML: HTMLify.pm,v 1.19 2002/04/27 05:25:03 fukachan Exp $ +# $FML: HTMLify.pm,v 1.20 2002/06/27 08:25:50 fukachan Exp $ # package FML::Process::HTMLify; @@ -41,7 +41,7 @@ create a C<FML::Process::Kernel> object and return it. =head2 C<prepare()> -dummy :) +adjust ml_* and load configuration files. =cut @@ -59,7 +59,7 @@ sub new } -# Descriptions: dummy to avoid to take data from STDIN +# Descriptions: adjust ml_* and load configuration files # Arguments: OBJ($self) HASH_REF($args) # Side Effects: none # Return Value: none diff --git a/fml/lib/FML/Process/ThreadTrack.pm b/fml/lib/FML/Process/ThreadTrack.pm index 5e4f495f..9f5e9bb7 100644 --- a/fml/lib/FML/Process/ThreadTrack.pm +++ b/fml/lib/FML/Process/ThreadTrack.pm @@ -3,7 +3,7 @@ # Copyright (C) 2001,2002 Ken'ichi Fukamachi # All rights reserved. # -# $FML: ThreadTrack.pm,v 1.29 2002/06/27 08:25:51 fukachan Exp $ +# $FML: ThreadTrack.pm,v 1.30 2002/06/30 01:23:00 fukachan Exp $ # package FML::Process::ThreadTrack; @@ -38,7 +38,7 @@ create a C<FML::Process::Kernel> object and return it. =head2 C<prepare()> -dummy. +adjust ml_* and load configuration files. =cut @@ -56,7 +56,7 @@ sub new } -# Descriptions: dummy to avoid to take data from STDIN +# Descriptions: adjust ml_* and load configuration files # Arguments: OBJ($curproc) HASH_REF($args) # Side Effects: none # Return Value: none |
