This works for me
<a class='menu1' href='#' onclick=\"showHide('hellow')\">
please make sure your java script file are in the doc folder
not the executable folder and you reference it from you r perl module like -src=>'http://localhost/first.css' .This works for me!
good luck
i'm trying to make some sense from your post but you are mixing up references to or examples of javascript, perl/cgi, html and css.
what problem are you trying to solve?
it might help if you link to the relevant WebmasterWorld thread.