in reply to UTF-8 and readdir, etc.

See Path::Tiny and Path::Iterator::Rule for some alternatives. And Encoding horridness revisited: What's going on here? [SOLVED] might be helpful as well.

Best regards, Karl

«The Crux of the Biscuit is the Apostrophe»

perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

Replies are listed 'Best First'.
Re^2: UTF-8 and readdir, etc.
by ikegami (Patriarch) on Jan 31, 2018 at 18:05 UTC

    What makes you think that either of those modules will help?

      My intuition.

      «The Crux of the Biscuit is the Apostrophe»

      perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

        Let me rephrase: I don't see how using Path::Tiny or Path::Iterator::Rule can be used to solve the OP's problem. Could you please show me?