method

invert

v2_1_10 - Show latest stable - Class: YAML::DBM
invert()
public

Returns a Hash (not a DBM database) created by using each value in the database as a key, with the corresponding key as its value.

Note that all values in the hash will be Strings, but the keys will be actual objects.