in reply to Re: Byte counts and Seek function
in thread Byte counts and Seek function

utf8 (emphases added):

utf8 - Perl pragma to enable/disable UTF-8 (or UTF-EBCDIC) in source
code
...
The "use utf8" pragma tells the Perl parser to allow UTF-8 in the
program text in the current lexical scope ...

Replies are listed 'Best First'.
Re^3: Byte counts and Seek function
by chromatic (Archbishop) on Aug 27, 2013 at 22:42 UTC

    That's the utf8 pragma. I know what it does in the posted code: nothing, because there are no non-ASCII characters appearing literally in the source code.

    What's the utf8 function in the OP's code do?

      Oops. Visually scanned for it, but didn't see the utf8 function call the first time through. Should have used a highlighting finder!   (Damned human eyes...)

        utf8::xxx functions can be used without "use utf8". it's documented.