G'day diamondsandperls,
print does not add newlines for you; perhaps you were thinking of say. The two print statements you have (to output content) contain no newlines.
If you wanted HTML like
whois server: $whois_server<br> <pre> $dominfo </pre>
you'll need to code newlines (\n) in your print statements to achieve this.
Please show some example data to clarify what you are getting and what you actually want.
-- Ken
In reply to Re: printing html content with pre tag all one line
by kcott
in thread printing html content with pre tag all one line
by diamondsandperls
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |