The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Rubyish::Hash - Hash (class)

FUNCTIONS

new

constructor

inspect #=> perl_string

in

fetch

{}

Retrieves the value Element corresponding to the key.

    $hash = Hash({ hello => "world" });
    $hash->fetch("hello")   #=> world
    $hash->{hello}          #=> world

each

map

    $hash = Hash({ blah~ });
    $hash->each( sub {
        my ($key, $value) = @_;  # specify your iterator
        print "$key => $value\n";
    });