Hong Wang wrote: > Thanks very much. But I am not clear about this line: > > tie %hash, 'GDBM_File', $filename, &GDBM_WRCREAT, 0640); > > > $filename is the text file read or is the db file name will be written to?
That would be the DB file you're tieing the hash to. The text file has nothing to do with GDBM - you're just using it to populate the DB. -- ,-/- __ _ _ $Bill Luebkert Mailto:[EMAIL PROTECTED] (_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED] / ) /--< o // // Castle of Medieval Myth & Magic http://www.todbe.com/ -/-' /___/_<_</_</_ http://dbecoll.tripod.com/ (Free site for Perl/Lakers) _______________________________________________ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs