in reply to perl tk widget will not copy files

There are no tk widgets involved in copying files

Also, your "or die" message says open when you're trying to copy a file .... if you use Path::Tiny you don't have to remember an "or die" with appropriate message and filename