- or download this
if ($file =~ //) {
$mapattach = undef;
}
- or download this
# parse the config file
while (<FILE>) {
...
$CONFIG_PARAMS{$params[0]}=$params[1];
}
- or download this
my $mapattach;
# add () inside // to capture match
...
} else {
$mapattach = $CONFIG_PARAMS->{$1};
}