On Thu, 8 Jun 2006 10:45:14 -0400, Justin Pryzby <[EMAIL PROTECTED]> wrote: > +unlink("$dbfile.old") if ( -e "$dbfile.old" ) ; > +link("$dbfile", "$dbfile.old") if ( -e $dbfile ) ;
Erm, shouldn't you take care to leave .old if no new $dbfile exists? +if (-e $dbfile) { + unlink("$dbfile.old") if (-e "$dbfile.old"); + link("$dbfile", "$dbfile.old"); +} Something like that? /* era */ -- If this were a real .signature, it would suck less. Well, maybe not. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]