in reply to How to implement CSS in perl script.

If you are using CGI:

print start_html(-style=>{'src'=>''} );
UPDATE From the looks of your code, you are not. So you could just do
print qq|<link href="" rel="stylesheet" +type="text/css"></link>|;
Unless I am misunderstanding the question.
"That which we persist in doing becomes easier, not that the task itself has become easier, but that our ability to perform it has improved."
  --Ralph Waldo Emerson