in reply to regex to match a literal dot near end of string

You could be a little wittier and not go all the way to the end and then backtrack:
($ext) = $name =~ /(\.[^.]*)+/;

_____________________________________________________
Jeff japhy Pinyan: Perl, regex, and perl hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;