in reply to RE: A Programmers Kong-an
in thread A Programmers Kong-an
Hmm, so the truly paranoid-but-clueless might do this:
use FileHandle; to_logfile($message) or to_backup_logfile($message, $logfilename); sub to_backup_logfile { my ($message, $logfilename) = @_; my $bulog = new FileHandle "$logfilename.bak" or to_backup_logfile("Couldn't write $message to $logfilename!", +"$logfilename.bak"); print $bulog $message; }
Well, I suppose this code might tell you *something* useful =)
Update I was viewing turnstep's reply, below, in Mozilla M18 and everything after my <code> tag got deleted. Curse the developing lizard, but praise the project!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: RE: A Programmers Kong-an
by turnstep (Parson) on Oct 16, 2000 at 19:32 UTC | |
by tilly (Archbishop) on Oct 16, 2000 at 21:22 UTC | |
by turnstep (Parson) on Oct 16, 2000 at 22:07 UTC |