in reply to RegEx problems

I'd personally prefer the syntax
my $map = $1 if($traps{$trap}{oid} =~ /\.(\d+)$/);
simply because I find it more readable... just a matter of taste, really.