Skip Menu |
 

This queue is for tickets about the Data-Hexdumper CPAN distribution.

Report information
The Basics
Id: 64327
Status: resolved
Priority: 0/
Queue: Data-Hexdumper

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

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



Subject: CHUNKSIZE = 16 is not a parameter, it is a constant
Download (untitled) / with headers
text/plain 641b
Hello David, In my case I would like set the chunksize to 4. At the begin I have some 4 byte integers and then some strings. It would be better readable if chunksize is not a fixed constant. The address of every interger I would have in front. Example: 0000: DE 12 04 95 .... 0004: 00 00 00 00 .... 0008: 01 00 00 00 .... 000C: 1C 00 00 00 .... 0010: 24 00 00 00 $... 0014: 00 00 00 00 .... 0018: 00 00 00 00 .... 001C: 08 00 00 00 .... 0020: 2C 00 00 00 ,... 0024: 0A 00 00 00 .... 0028: 35 00 00 00 5... 002C: 6F 72 69 67 orig 0030: 69 6E 61 6C inal 0034: 00 74 72 61 .tra 0038: 6E 73 6C 61 nsla 003C: 74 65 64 00 ted. Regards Steffen.
Download (untitled) / with headers
text/plain 244b
This is closely tied to some other magic numbers that control the output format. I agree that it really should be more flexible. It should probably take some kind of printf-stylee format string as an optional argument. Comments? Patches? :-)
Download (untitled) / with headers
text/plain 209b
You invited me to pay with your code and I have done that. It was very interesting an I hope useful. My feature is programmed. See the steps of my ideas in file README and take what you want. Regards Steffen.
Subject: Data-HexDumper.zip
Download Data-HexDumper.zip
application/x-zip-compressed 19.8k

Message body not shown because it is not plain text.

"pay with your code" that is a very good idea but I mean play. Steffen.
Download (untitled) / with headers
text/plain 463b
My apologies for taking so long to get back to you on this. I've implemented it, and it'll be in the next release in the next few days. See https://github.com/DrHyde/perl-modules-Data- Hexdumper/blob/master/lib/Data/Hexdumper.pm I didn't use your code in the end, partly because there were no tests, but mostly because writing code is fun :-) The main difference is that my version doesn't support things like %16C. But maybe I'll add that before release.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.