[LON-CAPA-cvs] cvs: loncom /xml run.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 15 Nov 2005 20:50:27 -0000
albertel Tue Nov 15 15:50:27 2005 EDT
Modified files:
/loncom/xml run.pm
Log:
- remove other internal vars from the script vars link
Index: loncom/xml/run.pm
diff -u loncom/xml/run.pm:1.53 loncom/xml/run.pm:1.54
--- loncom/xml/run.pm:1.53 Tue Nov 8 13:59:03 2005
+++ loncom/xml/run.pm Tue Nov 15 15:50:26 2005
@@ -1,6 +1,6 @@
package Apache::run;
#
-# $Id: run.pm,v 1.53 2005/11/08 18:59:03 albertel Exp $
+# $Id: run.pm,v 1.54 2005/11/15 20:50:26 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -157,7 +157,8 @@
my ($target,$safeeval)=@_;
my $dump='';
foreach my $symname (sort keys %{$safeeval->varglob('main::')}) {
- if (($symname!~/\027/) && ($symname!~/^\_/) && ($symname!~/\:$/)) {
+ if (($symname!~ /^(INC|SIG)/) && ($symname!~/\027/) &&
+ ($symname!~/^\_/) && ($symname!~/\:$/)) {
my $line;
if ($safeeval->reval('defined($'.$symname.')')) {
if ($symname =~ /^\w/) {