in reply to problem with hashes, loaded from file

tldr (perlmonks is *** annoying with it's character mangling) but have you considered using Storable and not using 'encoding' and 'locale'? (i don't see what they do for you).
  • Comment on Re: problem with hashes, loaded from file

Replies are listed 'Best First'.
Re^2: problem with hashes, loaded from file
by igoryonya (Pilgrim) on Dec 24, 2014 at 12:46 UTC
    What's tldr.
    I was not aware about Storable, have to read on that. Thanx.
        That sscce was tldr :)
        read about half of it.
      "too long; didn't read"

      Take a look at utf8::all, too

        Unfortunately, can't do that, I tried to turn everything to unicode (utf8) before, but it mangled filenames, with erroneous unicode encoding, so, I've had to reference filenames in byte, not character sequences.