Given an 80-character soft-wrapping of a multi-paragraph scalar of English words in a monospace font ($content), what will the height of it be in characters ($rows)?
Wrap it yourself and count the lines:
use Text::Wrap; my $rows = split("\n", fill('','', $content););
In reply to Re^3: Estimating height of TEXTAREA from content
by simonm
in thread Estimating height of TEXTAREA from content
by tomazos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |