http://www.perlmonks.org?node_id=781688


in reply to Perl exception - multiple statement

You might have an easier time using File::Copy.