summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Command
diff options
context:
space:
mode:
Diffstat (limited to 'fml/lib/FML/Command')
-rw-r--r--fml/lib/FML/Command/edit.pm68
1 files changed, 68 insertions, 0 deletions
diff --git a/fml/lib/FML/Command/edit.pm b/fml/lib/FML/Command/edit.pm
new file mode 100644
index 00000000..852e3121
--- /dev/null
+++ b/fml/lib/FML/Command/edit.pm
@@ -0,0 +1,68 @@
+#-*- perl -*-
+#
+# Copyright (C) 2001 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: subscribe.pm,v 1.9 2001/05/27 14:27:54 fukachan Exp $
+#
+
+package FML::Command::edit;
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $AUTOLOAD);
+use Carp;
+
+=head1 NAME
+
+FML::Command::edit - edit a new member
+
+=head1 SYNOPSIS
+
+=head1 DESCRIPTION
+
+See C<FML::Command> for more details.
+
+=head1 METHODS
+
+=head2 C<edit( $address )>
+
+=cut
+
+
+sub edit
+{
+ my ($self, $curproc, $args) = @_;
+ my $config = $curproc->{ config };
+ my $options = $args->{ options };
+ my $address = $args->{ address } || $options->[ 0 ];
+
+ # ML's home directory
+ my $ml_home_dir = $args->{ 'args' }->{ 'ml_home_dir' };
+ my $config_cf = $ml_home_dir."/config.cf";
+
+ use FML::Config;
+ my $c = new FML::Config;
+ $c->read( $config_cf );
+}
+
+
+=head1 AUTHOR
+
+Ken'ichi Fukamachi
+
+=head1 COPYRIGHT
+
+Copyright (C) 2001 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.
+
+=head1 HISTORY
+
+FML::Command::edit appeared in fml5 mailing list driver package.
+See C<http://www.fml.org/> for more details.
+
+=cut
+
+
+1;