"be consistent" | |
PerlMonks |
Re: Can't copy fileby redgreen (Priest) |
on Mar 30, 2015 at 20:22 UTC ( [id://1121896]=note: print w/replies, xml ) | Need Help?? |
use strict; close FH; This file handle hasn't been opened. $outfh is never closed. Make sure you close after you are done writing.Which is probably why the copy fails, the file is still open... Also, check to make sure the copy was successful:
In Section
Seekers of Perl Wisdom
|
|