You've received more intelligent answers, but in the spirit of TIMTOWTDI:
print "<pre>"; for (split("\n", qx(cat somefile))) { # or other output producing comm +and s/</</g; print; } print "</pre>";
--
"This alcoholism thing, I think it's just clever propaganda produced by people who want you to buy more bottled water." -- pedestrianwolf
In reply to Re: How do I capture large output in a perl variable
by naChoZ
in thread How do I capture large output in a perl variable
by vsmurthy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |