http://www.perlmonks.org?node_id=1029221


in reply to perl form filling

The two chomp lines you have there, replace them with:
chomp($start_date); chomp($end_date);