open my $fh, '>', $f or die "Can't write to $f: $!\n";
Won't open-ing the file named $f in '>' write mode clobber the current contents of the file at the same time it changes time/date? Wouldn't '>>' append mode be better?
Give a man a fish: <%-{-{-{-<
In reply to Re^2: check for latest file, remove and touch file?
by AnomalousMonk
in thread check for latest file, remove and touch file?
by fasoli
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |