- or download this
require "all_hashes.pl"; # read in all the hashes
our $item = "Perl"; # this $item must be global :-(
...
print $out; # $out is defined in template.pl
#...
- or download this
my $out = "-p $act1{$item} -p $act2{$item} ...";
- or download this
my %act1 = (
"food" => "eat it",
...
"drink" => "be drunk",
"Perl" => "write it");
#...