|No such thing as a small change
(Sorry for the delayed reply. I started then got interrupted by an emergency.)
You might also want to consider having DEPLOYER do a little more of the "grunt work".
You have 3 lists of the same files: pathsToDeploy, filesToDeploy and filesToConvert. You only need one list/table, then derive the individual lists.
In DEPLOYER, do
Then in your deploy script, you only need:
This will make the deploy scripts easier to configure because each file is mentioned only once, instead of the 3 times the legacy deploy scripts works and your current new proposal.
Also, as long as DEPLOY.pm has use File::Copy; the deploy scripts only need use DEPLOY;
In reply to Re: Modernizing a Deploy script to standard distro v5.10.1