]> gb7djk.dxcluster.net Git - spider.git/blobdiff - cmd/show/program.pl
1. Various detail changes to remove some more warning with -w on
[spider.git] / cmd / show / program.pl
diff --git a/cmd/show/program.pl b/cmd/show/program.pl
new file mode 100644 (file)
index 0000000..e741646
--- /dev/null
@@ -0,0 +1,16 @@
+#
+# show where I have included stuff from so far
+#
+# Copyright (c) 1998 Dirk Koopman G1TLH
+#
+# $Id$
+#
+my $self = shift;
+return (1, $self->msg('e5')) if $self->priv < 5;
+my @in = sort keys %INC;
+my @out = ("Locations of included Program Modules");
+for (@in) {
+       push @out, "$_ => $INC{$_}" if $INC{$_} =~ /spider/o;
+} 
+
+return (1, @out);