I'd like to see the following change made to config_parse.pl:
--- config_parse.pl.bak Mon Jul 8 11:59:57 1996
+++ config_parse.pl Thu Jul 11 11:11:15 1996
@@ -1147,8 +1147,10 @@
# are we generating a digest list
$digest = 1 if $list =~ /-digest$/;
- $default = eval("$default") if $default =~ s/^#!//;
- print $@ if $@ ne "";
+ if ( $default =~ s/^#!// ) {
+ $default = eval("$default");
+ print $@ if $@ ne "";
+ }
$parser = $parse_function{$key};
return(($default eq '') ? '' : &$parser($default, $list, $key));
This is in the config'get_def subroutine.
I'm in the midst of writting a fairly comprehensive web interface to
majordomo using as much of it's facilities as possible. The current
state of affairs requires me to undef $@ before I call get_config
due to the way the FileHandle package checks some stuff.
thanks,
bl.
--
//= Brett G. Lemoine =====================================================\\
|| Silicon Graphics | "There are two major products that come out ||
|| Server Operations, I/S | of Berkeley: LSD and UNIX. ||
|| Senior System Operator | We don't believe this to be a coincidence." ||
|| blemoine@sgi.com | -- Jeremy S. Anderson ||
|+------------------------+------------------------------------------------+|
\\ PGP Key Fingerprint: 68 A1 2A 2D 82 CE E9 70 5B 80 D1 11 EC F3 FB 85 //
Follow-Ups:
|
|