Your skill will accomplish what the force of many cannot |
|
PerlMonks |
pp module messes encodingby palkia (Monk) |
on May 13, 2011 at 23:07 UTC ( [id://904757]=perlquestion: print w/replies, xml ) | Need Help?? |
palkia has asked for the wisdom of the Perl Monks concerning the following question:
Hi everyone I used the pp module (this one) to convert my perl code to exe. I wrote a simple code to extract some text from an online page with (this) WWW:Mechanize. (The page contains Hebrew characters) My code works gr8 as .pl but after it's converted to .exe with the pp module, it gets a strange encoded (I think) text, that I can't understand nor convert to it's standard form. Another weird thing is that the .exe created version of out.txt is about 4 times longer than the .pl's. (tried & failed to convert with some functions from the utf8 pragma ) Suggestions ? thx My code (at least it's relevant part):
Back to
Seekers of Perl Wisdom
|
|