summaryrefslogtreecommitdiff
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
parent7014349ea45684b54dacf18d232f5e5cfc861ab6 (diff)
downloadfml8-ce1809a1fe8447bbd141984dbe082cf6f5ac1932.tar.gz
fml8-ce1809a1fe8447bbd141984dbe082cf6f5ac1932.tar.bz2
fml8-ce1809a1fe8447bbd141984dbe082cf6f5ac1932.zip
mode debug messages where loader runs
-rw-r--r--fml/lib/FML/Command.pm5
-rw-r--r--fml/lib/FML/Process/Kernel.pm6
2 files changed, 8 insertions, 3 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();
diff --git a/fml/lib/FML/Process/Kernel.pm b/fml/lib/FML/Process/Kernel.pm
index 46ce23ff..4673420f 100644
--- a/fml/lib/FML/Process/Kernel.pm
+++ b/fml/lib/FML/Process/Kernel.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: Kernel.pm,v 1.50 2001/09/13 13:47:48 fukachan Exp $
+# $FML: Kernel.pm,v 1.51 2001/09/13 14:36:45 fukachan Exp $
#
package FML::Process::Kernel;
@@ -127,7 +127,11 @@ sub new
if ($0 =~ /loader/) {
eval q{
require Data::Dumper; Data::Dumper->import();
+ print "// FML::Process::Kernel::new()\n";
+ $Data::Dumper::Varname = 'curproc';
print Dumper( $curproc );
+ $Data::Dumper::Varname = 'args';
+ print Dumper( $args );
sleep 3;
};
}