diff options
| author | fukachan <fukachan> | 2001-07-15 08:14:44 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2001-07-15 08:14:44 +0000 |
| commit | 5065fcb82944a5b0cfcb88b100bf3f51666b5a51 (patch) | |
| tree | f17ee4e1e8697f75ab439a66bb47f97bd54b7990 /fml/lib/FML/Command | |
| parent | 376edbf156142beaee049f3348694e128a22fe6d (diff) | |
| download | fml8-5065fcb82944a5b0cfcb88b100bf3f51666b5a51.tar.gz fml8-5065fcb82944a5b0cfcb88b100bf3f51666b5a51.tar.bz2 fml8-5065fcb82944a5b0cfcb88b100bf3f51666b5a51.zip | |
enabled read and write back configuration file
Diffstat (limited to 'fml/lib/FML/Command')
| -rw-r--r-- | fml/lib/FML/Command/edit.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fml/lib/FML/Command/edit.pm b/fml/lib/FML/Command/edit.pm index 852e3121..ee8745b3 100644 --- a/fml/lib/FML/Command/edit.pm +++ b/fml/lib/FML/Command/edit.pm @@ -4,7 +4,7 @@ # 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 $ +# $FML: edit.pm,v 1.1 2001/07/15 04:00:27 fukachan Exp $ # package FML::Command::edit; @@ -42,7 +42,12 @@ sub edit use FML::Config; my $c = new FML::Config; + $c->read( $config_cf ); + + # replace/ovewrite $config_cf + # old $config_cf is backup'ed to $config_cf.bak + $c->write( $config_cf ); } |
