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 wanna make this doable for ramdom read write, so, that > > > should be in a binary file. > ... > Yes, that's very right, I should have to do that with some db > modules!!! I am sorry I missed something to declare here . I just do > it as an experiment to know and learn how pack works in this ways.
What you're talking about here is serialization of data structures. Look into the MLDBM module or the newer Tie::MLDBM module. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>