Help for this page

Select Code to Download


  1. or download this
    my %testhash = map { my $val = (split /\//, $_)[-1];
                         (my $key = $val) =~ s/\.txt//; 
                         $key => $val                   # <-- added
                       }
                   @teststr;