Re: [OT} db.counter and perl

2002-12-19 Thread
- Original Message - From: "m&m's" <[EMAIL PROTECTED]> > #!/usr/bin/perl > use NDBM_File; I used "use GDBM_File" and some displaying information changed > tie %counter,"NDBM_File", > "/home/plachnina/freeradius/ownprograms/db.counter",O > _RDWR,0777 > or die "

[OT} db.counter and perl

2002-12-19 Thread
Hi forgive me, but I have no idea what is wrong with this piece of code for analyzing db.counter file #!/usr/bin/perl use NDBM_File; tie %counter,"NDBM_File", "/home/plachnina/freeradius/ownprograms/db.counter",O _RDWR,0777 or die "Can't read file: $!\n"; while (($value,$key) =each %cou