Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Can't load file written in perl string normally #45

moznion opened this Issue · 2 comments

2 participants



If file which target to load contains perl string; like

use utf8;
my $hash = { 東京 => 'tokyo' };

then result of PPI::Document::File->new($file) is undef, means it cannot handle perl string rightly (if I remember correctly, perl implementation allows bare word written in perl string as key of hash).

So I wrote a patch that adds perl string option to constructor.
However I think other better way probably exists.

How do you feel?


I understood. Thanks a lot.

@moznion moznion closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.