summaryrefslogtreecommitdiff
path: root/fml
diff options
context:
space:
mode:
authorfukachan <fukachan>2002-01-27 09:27:11 +0000
committerfukachan <fukachan>2002-01-27 09:27:11 +0000
commit81cabe0bc65a6659185b73301b332653af03f67e (patch)
tree1e8b7adc6b175cde810d9d03f0d54cb6ab8f6c53 /fml
parent61fda8c3a5f36ab3e0074d20bdbc9135d78bdc3c (diff)
downloadfml8-81cabe0bc65a6659185b73301b332653af03f67e.tar.gz
fml8-81cabe0bc65a6659185b73301b332653af03f67e.tar.bz2
fml8-81cabe0bc65a6659185b73301b332653af03f67e.zip
clarify function arguments more
Diffstat (limited to 'fml')
-rw-r--r--fml/lib/FML/Command/User/get.pm15
1 files changed, 10 insertions, 5 deletions
diff --git a/fml/lib/FML/Command/User/get.pm b/fml/lib/FML/Command/User/get.pm
index ffce8039..14548780 100644
--- a/fml/lib/FML/Command/User/get.pm
+++ b/fml/lib/FML/Command/User/get.pm
@@ -1,10 +1,10 @@
#-*- perl -*-
#
-# Copyright (C) 2001 Ken'ichi Fukamachi
+# Copyright (C) 2001,2002 Ken'ichi Fukamachi
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: get.pm,v 1.6 2001/12/22 09:21:04 fukachan Exp $
+# $FML: get.pm,v 1.7 2001/12/22 16:10:51 fukachan Exp $
#
package FML::Command::User::get;
@@ -32,12 +32,17 @@ send back articles.
=head1 METHODS
-=head2 C<new()>
+=head2 C<process()>
=cut
-# Descriptions: send articles by FML::Command::SendFile.
+# Descriptions: send articles (filename =~ /^\d+/$) by FML::Command::SendFile.
+# This module is called after
+# FML::Process::Command::_can_accpet_command() already checks the
+# command syntax. $options is raw command as ARRAY_REF such as
+# $options = [ 'get:3', 1, 100 ];
+# send_article() called below can parse MH style argument.
# Arguments: OBJ($self) OBJ($curproc) HASH_REF($command_args)
# Side Effects: none
# Return Value: none
@@ -54,7 +59,7 @@ Ken'ichi Fukamachi
=head1 COPYRIGHT
-Copyright (C) 2001 Ken'ichi Fukamachi
+Copyright (C) 2001,2002 Ken'ichi Fukamachi
All rights reserved. This program is free software; you can
redistribute it and/or modify it under the same terms as Perl itself.