summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Command.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-10-08 15:50:24 +0000
committerfukachan <fukachan>2001-10-08 15:50:24 +0000
commitce1809a1fe8447bbd141984dbe082cf6f5ac1932 (patch)
treec174996e0e4291706a1abbdb9f9d365eeaaefa18 /fml/lib/FML/Command.pm
parent7014349ea45684b54dacf18d232f5e5cfc861ab6 (diff)
downloadfml8-ce1809a1fe8447bbd141984dbe082cf6f5ac1932.tar.gz
fml8-ce1809a1fe8447bbd141984dbe082cf6f5ac1932.tar.bz2
fml8-ce1809a1fe8447bbd141984dbe082cf6f5ac1932.zip
mode debug messages where loader runs
Diffstat (limited to 'fml/lib/FML/Command.pm')
-rw-r--r--fml/lib/FML/Command.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/fml/lib/FML/Command.pm b/fml/lib/FML/Command.pm
index 00ff1bad..78176f0b 100644
--- a/fml/lib/FML/Command.pm
+++ b/fml/lib/FML/Command.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: Command.pm,v 1.6 2001/07/15 12:03:37 fukachan Exp $
+# $FML: Command.pm,v 1.7 2001/09/13 11:53:29 fukachan Exp $
#
package FML::Command;
@@ -26,7 +26,6 @@ AUTOLOAD() picks up the command request and dispatches
C<FML::Command::User::somoting> for the request.
Also, C<FML::Command::Admin::somoting> for the admin command request.
-
=head1 METHODS
=head2 C<new()>
@@ -65,6 +64,8 @@ sub AUTOLOAD
$comname =~ s/.*:://;
my $pkg = "FML::Command::${mode}::${comname}";
+ Log("AUTOLOAD->load $pkg") if $0 =~ /loader/; # debug
+
eval qq{ require $pkg; $pkg->import();};
unless ($@) {
my $command = $pkg->new();