Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: zlib compression of numeric values

by xiaoyafeng (Chaplain)
on Jul 17, 2012 at 05:33 UTC ( #982135=note: print w/replies, xml ) Need Help??

in reply to zlib compression of numeric values

I ran the code you post and throw an error:
No data given to hexdump. at C:/Perl/site/lib/Data/ line 2 +88.
I've never used Compress::Raw::Zlib. but I think compress lib doesn't know what string or number is, it just treat all as binary data. So do you try to put number in to a file, binmode it and test it again? or just:
$num_data = 7; open(my $fh, '<', \$num_data); binmode($fh); ....... .......

I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://982135]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2017-07-24 04:18 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (348 votes). Check out past polls.