And why isn’t the JSON data enough? JSON has a pretty option, which would pretty-print the data for you, not requiring you to (ab)use Dumper.
Keep in mind, that any JSON data generated by JSON is a byte stream and not a (Unicode) string.
Yes, fully aware it looks extremely complicated :)
In reply to Re^5: JSON, Data::Dumper and accented chars in utf-8
by Ralesk
in thread JSON, Data::Dumper and accented chars in utf-8
by silentius
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |