in reply to dbmopen() test if file exists already?
But since dbmopen doesn't clobber the data this test seems rather frivolous.warn "dbm exists" if dbmopen(my %hash, "your_data"); warn "dbm_exists" if glob('your_data.{pag,db,dir}');
_________
broquaint
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Re: dbmopen() test if file exists already?
by merlyn (Sage) on May 28, 2003 at 11:42 UTC | |
|
Re: Re: dbmopen() test if file exists already?
by Cody Pendant (Prior) on May 28, 2003 at 12:53 UTC | |
by broquaint (Abbot) on May 28, 2003 at 13:13 UTC |