Hydrogen::Curry::HashRef - easily curry functions from Hydrogen::HashRef
This documentation is for Hydrogen::Curry::HashRef 0.016, which is based on Sub::HandlesVia::HandlerLibrary::Hash 0.037.
Each function expects a reference to a hash as its only argument and returns a coderef.
curry_accessor( $hashref )
Curry the first argument of Hydrogen::HashRef::accessor.
Hydrogen::HashRef::accessor
curry_all( $hashref )
Curry the first argument of Hydrogen::HashRef::all.
Hydrogen::HashRef::all
curry_clear( $hashref )
Curry the first argument of Hydrogen::HashRef::clear.
Hydrogen::HashRef::clear
curry_count( $hashref )
Curry the first argument of Hydrogen::HashRef::count.
Hydrogen::HashRef::count
curry_defined( $hashref )
Curry the first argument of Hydrogen::HashRef::defined.
Hydrogen::HashRef::defined
curry_delete( $hashref )
Curry the first argument of Hydrogen::HashRef::delete.
Hydrogen::HashRef::delete
curry_delete_where( $hashref )
Curry the first argument of Hydrogen::HashRef::delete_where.
Hydrogen::HashRef::delete_where
curry_elements( $hashref )
Curry the first argument of Hydrogen::HashRef::elements.
Hydrogen::HashRef::elements
curry_exists( $hashref )
Curry the first argument of Hydrogen::HashRef::exists.
Hydrogen::HashRef::exists
curry_for_each_key( $hashref )
Curry the first argument of Hydrogen::HashRef::for_each_key.
Hydrogen::HashRef::for_each_key
curry_for_each_pair( $hashref )
Curry the first argument of Hydrogen::HashRef::for_each_pair.
Hydrogen::HashRef::for_each_pair
curry_for_each_value( $hashref )
Curry the first argument of Hydrogen::HashRef::for_each_value.
Hydrogen::HashRef::for_each_value
curry_get( $hashref )
Curry the first argument of Hydrogen::HashRef::get.
Hydrogen::HashRef::get
curry_is_empty( $hashref )
Curry the first argument of Hydrogen::HashRef::is_empty.
Hydrogen::HashRef::is_empty
curry_keys( $hashref )
Curry the first argument of Hydrogen::HashRef::keys.
Hydrogen::HashRef::keys
curry_kv( $hashref )
Curry the first argument of Hydrogen::HashRef::kv.
Hydrogen::HashRef::kv
curry_reset( $hashref )
Curry the first argument of Hydrogen::HashRef::reset.
Hydrogen::HashRef::reset
curry_set( $hashref )
Curry the first argument of Hydrogen::HashRef::set.
Hydrogen::HashRef::set
curry_shallow_clone( $hashref )
Curry the first argument of Hydrogen::HashRef::shallow_clone.
Hydrogen::HashRef::shallow_clone
curry_sorted_keys( $hashref )
Curry the first argument of Hydrogen::HashRef::sorted_keys.
Hydrogen::HashRef::sorted_keys
curry_values( $hashref )
Curry the first argument of Hydrogen::HashRef::values.
Hydrogen::HashRef::values
No functions are exported by this module by default. To import them all (this is usually a bad idea), use:
use Hydrogen::Curry::HashRef -all;
To import a particular function, use:
use Hydrogen::Curry::HashRef 'curry_clear';
To rename functions:
use Hydrogen::Curry::HashRef 'curry_clear' => { -as => 'myfunc' };
On Perl 5.37.2+, you can import lexically:
use Hydrogen::Curry::HashRef -lexical, 'curry_clear';
See Exporter::Tiny::Manual::Importing for more hints on importing.
Please report any bugs to http://github.com/tobyink/p5-hydrogen/issues.
Hydrogen, Hydrogen::HashRef, Hydrogen::Hash, Hydrogen::Topic::HashRef, Sub::HandlesVia::HandlerLibrary::Hash, Hash::Util.
Toby Inkster <tobyink@cpan.org>.
This software is copyright (c) 2022 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
To install Hydrogen, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Hydrogen
CPAN shell
perl -MCPAN -e shell install Hydrogen
For more information on module installation, please visit the detailed CPAN module installation guide.