|Subject:||Add character-set to _slurp|
I have create a xgettext translation string extractor using PPI, however need to be very explicit about the character-set of my input file. This is not possible with PPI. My code inspection discovered that PPI is using PPI::Util::_slurp() to read the module, which is (of course) a little blunt. It would be nice to respect 'use utf8' in the source... but as alternative I could live with a 'charset' option to PPI::Document->new, which is then passed to _slurp. Would you be so kind to add this?