in reply to Re^9: Seeking Perl docs about how UTF8 flag propagates
in thread Seeking Perl docs about how UTF8 flag propagates

I didn't mean anything related to the OP's question. Following the discussion between hv and you I was concerned whether there might be a need to look at or manipulate the UTF8 flag in some circumstances. Luckily, I still don't see a reason to do this in my code.
  • Comment on Re^10: Seeking Perl docs about how UTF8 flag propagates

Replies are listed 'Best First'.
Re^11: Seeking Perl docs about how UTF8 flag propagates
by demerphq (Chancellor) on May 17, 2023 at 13:59 UTC

    There are a few legitimate reasons to explicitly change the utf8 flag (external service returning utf8 as binary is an example), but they are very rare.

    ---
    $world=~s/war/peace/g