Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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

Comment on Re: zlib compression of numeric values
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://982135]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2015-11-25 06:20 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (671 votes), past polls