in reply to Is there a way to avoid copy function from overwriting old contents?
Show us your current copy code. On the face of it you should just need something like:
open my $tmpIn, '<', $temp or die "Failed to open $temp: $!\n"; open my $logOut, '>>', $log or die "Failed to open $log: $!\n"; print {$logOut} <$tmpIn>;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is there a way to avoid copy function from overwriting old contents?
by justkar4u (Novice) on Apr 12, 2011 at 01:53 UTC |