Help for this page

Select Code to Download


  1. or download this
    my %elements = map { $_ => 1 } @array;
    
    ...
        # then let the hash find the transformation
        print "Success!" if exists $elements{$transformed_element};
    }
    
  2. or download this
    my %elements = map { $_ => 1 } @array;
    
    ...
            }
        }
    }