in reply to Strict Usage

prepend "my" to all your variable definitions

for example:

my %words = qw ( fred camel barney llama betty alpaca wilma alpaca );

MP

Replies are listed 'Best First'.