$start_input =~ s/\r\n//d; [download]
/d is not a valid option for s///. Perhaps you meant tr/\r\n//d?
In reply to Re^3: Chomp doesn't work by jwkrahn in thread Chomp doesn't work by M15U