|Problems? Is your data what you think it is?|
Storable & file descriptor with UTF-8by pirkil (Beadle)
|on May 11, 2012 at 13:42 UTC||Need Help??|
pirkil has asked for the
wisdom of the Perl Monks concerning the following question:
Hello monks, I have a question on Storable. I need to store my data to a opened filehandle.
$data is a hash reference containing keys - strings encoded in UTF-8. I got this error:
I tried to decode the data first with Encode module and I have also tried:
before saving the data, but it didn't help. I can use 'nstore' method instead of 'nstore_fd', but I would rather store the data to the filehandle. How can I do it?
Thanks for your answers!