#!/usr/bin/perl use strict; my %fruit = ( "banana" => 3, "lemon" => 5, "pineapple" => 9, ); my $type = "lemon"; print "There are $fruit{$type} ${type}s left.\n";