This is only true if you output utf8 and your Perl is built to use utf8 as its internal Unicode representation. If any of the two changes, { use bytes; length } will not give the correct results anymore.
In reply to Re^14: Determining content-length for an HTTP Post
by Corion
in thread Determining content-length for an HTTP Post
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |