go ahead... be a heretic | |
PerlMonks |
Re^2: Encoding Decoding on multiple formats RFC (UPDATED)by thanos1983 (Parson) |
on Sep 22, 2017 at 12:23 UTC ( [id://1199910]=note: print w/replies, xml ) | Need Help?? |
Hello Tux, I had no clue about this module, thanks for pointing out. Indeed the output of both are very close to each other. The difference that I see is the decode process that the user can take the hex string and convert it back to the original format, where it is also necessary for me. When you do not have the string in original format and you need to see if the encoding occurred correctly. Again thank you for pointing out this great module as I am impressed by the hex output, I definitely want to add it as a reference so people can use it also. Update: Well you gave me the idea of that the user should be able to put pieces of DumperOutput and convert them to readable strings. So I added this method:
Sample of test.pl: my $hexArrayRef = [ '06 47 06 30 06 27 00 20 06 27', '06 2e 06 2a 06 28 06 27 06 31' ] say hexDumperInput('UCS-2', $hexArrayRef); __END__ $ perl test.pl هذا اختبار Thanks again for the inspiration and ideas :D. I will added on the module. BR / Thanos
Seeking for Perl wisdom...on the process of learning...not there...yet!
In Section
Meditations
|
|