Re: Conceptual questions about 'pack'

2004-09-12 Thread John W. Krahn
Bee wrote: Hi, I am very newbie for using the function 'pack', and here I have some questions : Have you read the documentation for pack? perldoc -f pack And unpack? perldoc -f unpack Have you read the pack and unpack tutorial? perldoc perlpacktut Q1. Can I expect that pack can do this for me ?

Re: Conceptual questions about 'pack'

2004-09-13 Thread Bee
> Have you read the pack and unpack tutorial? > > perldoc perlpacktut Thanks for this, I missed this one. > > > > Q1. Can I expect that pack can do this for me ? > > - compress a text file in smaller size > > You could implement a compression algorithm with pack/unpack, if you really > w

Re: Conceptual questions about 'pack'

2004-09-13 Thread Jenda Krynicky
From: "Bee" <[EMAIL PROTECTED]> > > > - besize template 'aAuU', anything else tempplate I can use to > > > prepare fix length data ? - if yes, but how do I assuming the > > > block size is? In case, if I write a binary file and I wanna > > > use seek. > > > > You are going to have

Re: Conceptual questions about 'pack'

2004-09-13 Thread Bee
> > > > - besize template 'aAuU', anything else tempplate I can use to > > > > prepare fix length data ? - if yes, but how do I assuming the > > > > block size is? In case, if I write a binary file and I wanna > > > > use seek. > > > > > > You are going to have to explain that in

Re: Conceptual questions about 'pack'

2004-09-13 Thread Randy W. Sims
Bee wrote: >- besize template 'aAuU', anything else tempplate I can use to >prepare fix length data ? - if yes, but how do I assuming the >block size is? In case, if I write a binary file and I wanna >use seek. You are going to have to explain that in more

RE: Conceptual questions about 'pack'

2004-09-13 Thread Bob Showalter
Bee wrote: > > > In case, I am doing something like a log with User v > > > TimesOfSignIn. So, user name will set as 30 char long, and the > > > Signin times is about in scope of a normal integer. I wanna make > > > this a simple DB for this but not a list of single files for each > > > user. So I