Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
moznion opened this Issue · 2 comments

2 participants

@moznion

Hi.

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.
moznion@757f382
However I think other better way probably exists.

How do you feel?

@karenetheridge
@moznion

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.