I think your problem is here:
my $newname = rename($file, $mrn);
"rename" returns a "true" or "false" based upon success.
Cē
In reply to Re: Cannot Copy and Rename file
by cciulla
in thread Cannot Copy and Rename file
by skyler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |