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

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/Hexdumper.pm 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); ....... .......
HIH.




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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2014-08-30 01:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls