Creating a proper module isn't an option. I have to work within the constraints of my employer's dev environment.
The whole purpose of the code is to assign values to variables. I over-simplified in my examples.
Basically, the code is to take ARGV and convert it into a date, and if there is no ARGV it creates the date based upon localtime.