XP is just a number | |
PerlMonks |
Re^9: Determining content-length for an HTTP Postby WizardOfUz (Friar) |
on Nov 26, 2009 at 11:43 UTC ( [id://809540]=note: print w/replies, xml ) | Need Help?? |
Of course, the use bytes / length() solution is not perfect (just see my examples [5] and [6] above). But it is a reasonable approach considering that we do not know what the OP's $xmldata is and that "normal" users are usually not fiddling with the UTF-8 flag.
In Section
Seekers of Perl Wisdom
|
|