All the Perl that's Practical to Extract and Report
sub days_between($$) { (str2time($_[1])-str2time($_[0])) / SECONDS_IN_A_DAY; }
$ perl -MDate::Parse -le 'print ((str2time($ARGV[1])-str2time($ARGV[0]))/86400)' 2004-10-31 2004-11-01 1.04166666666667 $