use strict; my $app_text = "one:partridge\ntwo:\nturtle doves\nthree:french hens\n"; foreach my $line (split /(?