Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the PPI CPAN distribution.

Report information
The Basics
Id: 27121
Status: new
Priority: 0/
Queue: PPI

People
Owner: Nobody in particular
Requestors: MARKOV [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.199_02
Fixed in: (no value)



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?