summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Process
diff options
context:
space:
mode:
authorfukachan <fukachan>2003-01-02 15:51:01 +0000
committerfukachan <fukachan>2003-01-02 15:51:01 +0000
commit764a55b11e913f106a2ed060b015b97f797abd24 (patch)
tree42960d2a1b9c85bfde7aa06a6440f007fea43212 /fml/lib/FML/Process
parent133ff6f602f231f4bafc29925b90d8c05502cab2 (diff)
downloadfml8-764a55b11e913f106a2ed060b015b97f797abd24.tar.gz
fml8-764a55b11e913f106a2ed060b015b97f797abd24.tar.bz2
fml8-764a55b11e913f106a2ed060b015b97f797abd24.zip
enable fmlsuper using FML::Process::Super
Diffstat (limited to 'fml/lib/FML/Process')
-rw-r--r--fml/lib/FML/Process/Switch.pm12
1 files changed, 9 insertions, 3 deletions
diff --git a/fml/lib/FML/Process/Switch.pm b/fml/lib/FML/Process/Switch.pm
index 508bb808..73fe15c1 100644
--- a/fml/lib/FML/Process/Switch.pm
+++ b/fml/lib/FML/Process/Switch.pm
@@ -1,10 +1,10 @@
#-*- perl -*-
#
-# Copyright (C) 2001,2002 Ken'ichi Fukamachi
+# Copyright (C) 2001,2002,2003 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: Switch.pm,v 1.78 2002/11/26 07:32:30 fukachan Exp $
+# $FML: Switch.pm,v 1.79 2002/12/21 12:15:54 fukachan Exp $
#
package FML::Process::Switch;
@@ -353,6 +353,9 @@ sub _module_specific_options
elsif ($myname eq 'fmlspool') {
return qw(debug! help! -I=s convert! style=s srcdir=s);
}
+ elsif ($myname eq 'fmlsuper') {
+ return qw(debug! help! s! p! v!);
+ }
else {
croak "no such program $myname.\n";
}
@@ -470,6 +473,9 @@ sub _module_we_use
elsif ($name eq 'fmlspool') {
$pkg = 'FML::Process::Spool';
}
+ elsif ($name eq 'fmlsuper') {
+ $pkg = 'FML::Process::Super';
+ }
else {
return '';
}
@@ -499,7 +505,7 @@ Ken'ichi Fukamachi
=head1 COPYRIGHT
-Copyright (C) 2001,2002 Ken'ichi Fukamachi
+Copyright (C) 2001,2002,2003 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.