On 18 Jun 2001 03:45:57 +0800, Chan Jennifer wrote:
> Hey folks,
>
> Please don't scold me if I am asking a very stupid
> question. =)
>
> I am now handling some sort of text files,
> however, they are eating me a lot of harddisk.
>
> I tried to using PACK, however, I found that I cannot
> unpack it if I pack the file with "B" or "H"...
>
> Would anybody have any ideas or examples can tell me??
> Thank you very very much and thousands sorry if I am
> really stupid.....
>
> Jennifer
>
> _________________________________________________________
> Do You Yahoo!?
> 建立個人網站 http://geocities.yahoo.com.hk
> Build your own website at http://geocities.yahoo.com.hk
>
Pack's purpose in life is to take string data and turn it into
binary data. This may save space (ie. "100000" is 6 bytes long and
pack "n", "100000" is 2 bytes) but that is not what it is for. If
you want your files to take up less space on your hard drive try one
of these modules:
Compress::Bzip2
Compress::LZF
Compress::LZO
Compress::LZV1
Compress::Zlib
--
Today is Pungenday, the 22nd day of Confusion in the YOLD 3167