In the strings to print, you should escape the double quotes, i.e. print "hello \"world\""; would print hello "world".
This is the short answer, the longer and better one is that you could have a look at the CGI module that makes generating HTML a lot less painful. Various tutorials can be found in the monastry. A number of templating systems exists, HTML::Template comes to mind.
Hope this helps, -gjb-
In reply to Re: Not getting clean HTML using print
by gjb
in thread Not getting clean HTML using print
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |