NAME FML::Command::SendFile - utility functions to send back file(s). SYNOPSIS For example, See FML::Command::User::get and FML::Command::Admin::get on the usage detail. sub process { my ($self, $curproc, $command_context) = @_; $self->send_article($curproc, $command_context); } DESCRIPTION This module provides several utility functions to send back article(s) and file(s) in $ml_home_dir. METHODS send_article($curproc, $command_context) send back articles where "article" is a file named as /^\d+$/ in the ml spool $spool_dir. This is used in "FML::Command::User" and "FML::Command::Admin" modules. send_file($curproc, $command_context) send back file specified as "$command_context-"{ _filepath_to_send }>. send_user_xxx_message($curproc, $command_context, $type) Send back a help file if "help" is found in $ml_home_dir (e.g. /var/spool/ml/elena) for backward compatibility. Sebd back the default help message if not found. CODING STYLE See "http://www.fml.org/software/FNF/" on fml coding style guide. AUTHOR Ken'ichi Fukamachi COPYRIGHT Copyright (C) 2001,2002,2003,2004,2005,2006 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. HISTORY FML::Command::SendFile first appeared in fml8 mailing list driver package. See "http://www.fml.org/" for more details.