in reply to Re^3: How to "zip" a big string to small ?
in thread How to "zip" a big string to small ?
Thanks again.
Now, I can compress the big string by "Compress::Zlib::compress" just like this:
And how to recover the original string($f) later.
Now, I can compress the big string by "Compress::Zlib::compress" just like this:
Now i wanna know whether or not the "$dest" can be stored into DB( column type varchar)my $f = <DATA>; my $dest = compress($f); #print $dest; __DATA__ big big string ssssssssssssssssssssssss mmmmmmmmmmmmmmmmmmmmmmmmm as long as possible...
And how to recover the original string($f) later.
In Section
Seekers of Perl Wisdom