Nothing Perlish at all, you need the JavaScript 'onMouseOver' event. If you are dynamically generating the HTML, say with CGI, you can generate the event code there.
Update: Further searching found HTML::Tooltip::Javascript which is apparently an interface to a GPL'ed tooltip library.