5 open STDOUT, ">lib/Config.pm"
6 or die "Can't open lib/Config.pm: $!\n";
7 $myver = sprintf("%.3f", $]);
12 \@EXPORT = qw(%Config);
14 \$] == $myver or die sprintf
15 "Perl lib version ($myver) doesn't match executable version (%.3f)\\n", \$];
21 s/'undef'/undef/; # So we can say "if $Config{'foo'}".
22 s/=true$/='true'/; # Catch CONFIG=true line from Configure.
23 s/^(\w+)=/\$Config{'$1'} = /;
24 s/$/;/ unless (/^#/ || /^$/);