- or download this
use Config::IniFiles;
...
print $filename,$/;
__END__
060520.1200foobar.dat
- or download this
eval "\$filename =~ $regex";
die $@ if $@;
- or download this
sub makesub {
# my ($client, $regex) = @_; update: wrong, we have 1 param
...
die $@ if $@;
return $sub;
}
- or download this
$hash{$client} = makesub($regex);
$hash{$client}->($filename); # $filename changed