John L. Allen [Fri, 5 Sep 1997 00:00:00 +0000 (00:00 +0000)]
This is a minimal patch *adding no new features*.
I submitted a prior patch that reworded the pods and allowed -- to
terminate args, among other things, but it never made it
in. Perhaps this will.
p5p-msgid: Pine.SOL.3.91.
970920154720.3683A@gateway
$$hash{$first} = $rest;
}
else {
- eval "\$opt_$first = \$rest;";
+ ${"opt_$first"} = $rest;
push( @EXPORT, "\$opt_$first" );
}
}
$$hash{$first} = 1;
}
else {
- eval "\$opt_$first = 1;";
+ ${"opt_$first"} = 1;
push( @EXPORT, "\$opt_$first" );
}
if ($rest ne '') {
$$hash{$first} = $rest;
}
else {
- eval "\$opt_$first = \$rest;";
+ ${"opt_$first"} = $rest;
push( @EXPORT, "\$opt_$first" );
}
}
$$hash{$first} = 1;
}
else {
- eval "\$opt_$first = 1";
+ ${"opt_$first"} = 1;
push( @EXPORT, "\$opt_$first" );
}
if($rest eq '') {
shift(@ARGV);
$rest = shift(@ARGV);
}
- eval "\$opt_$first = \$rest;";
+ ${"opt_$first"} = $rest;
}
else {
- eval "\$opt_$first = 1;";
+ ${"opt_$first"} = 1;
if ($rest ne '') {
$ARGV[0] = "-$rest";
}