Help for this page

Select Code to Download


  1. 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
    #...
    
  2. or download this
    my $out = "-p $act1{$item} -p $act2{$item} ...";
    
  3. or download this
    my %act1 = (
               "food"  => "eat it",
    ...
               "drink" => "be drunk",
               "Perl"  => "write it");
    #...