Skip to content

Files

Latest commit

 

History

History
8 lines (6 loc) · 184 Bytes

perl5.md

File metadata and controls

8 lines (6 loc) · 184 Bytes

Count encoded bytes in Perl 5

The core length function returns the number of bytes when called on a byte string instead of a character string.

$count = length $utf8;