Perl script for reading a CSV file and formatting the date to total minutes