in reply to Re^3: HTML coded for in PERL
in thread HTML coded for in PERL

Transient, davidrw, and frodo72 are correct. The lack of whitespace is causing the browser stretch. In fact, your sample output caused this very page to stretch until i edited your post and added <code> tags. Try something like this to add spaces at every, say 25 characters:

s/(.{25})/$1 /g for @cut;
I would then use a bulleted list to display the elements of @cut, to make sure that whomever is reading the HTML page does not think they are seperate elements.
print "<ul>\n"; print "<li>$_</li>\n" for @cut; print "</ul>\n";
Although i'd much rather use something like HTML::Template.

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)