1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Replace all - with - in $opt name

This commit is contained in:
unknown
2008-04-24 14:15:15 +02:00
parent d21e7383d1
commit d4a9ed4b50
2 changed files with 26 additions and 10 deletions

View File

@ -46,7 +46,7 @@ sub collect_option {
my ($opt, $value)= @_;
# Convert - to _ in option name
$opt =~ s/-/_/;
$opt =~ s/-/_/g;
no strict 'refs';
${$opt}= $value;
}