Hash-str

NAME

Hash::str - provide a hash with native string keys

SYNOPSIS


use Hash::str;

my %hash is Hash::str = fortytwo => "foo", sixsixsix => "bar";

DESCRIPTION

Hash::str is module that provides the Hash::str class to be applied to the initialization of an Associative, making it limit the keys to native string. This allows this module to take some shortcuts, but only have a very limited (a few %_) performance improvement, so you should really only use this module if you're looking at getting those last few percent.

AUTHOR

Elizabeth Mattijsen <[email protected]>

Source can be located at: https://github.com/lizmat/Hash-str . Comments and Pull Requests are welcome.

If you like this module, or what I’m doing more generally, committing to a small sponsorship would mean a great deal to me!

COPYRIGHT AND LICENSE

Copyright 2021, 2024, 2025 Elizabeth Mattijsen

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.

# vim: expandtab shiftwidth=4

Hash::str v0.0.7

provide a hash with native string keys

Authors

  • Elizabeth Mattijsen

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • Hash::str

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.

Built with Podlite — the markup and publishing tools behind this site.