NAME
Hydrogen::Curry::CodeRef - easily curry functions from Hydrogen::CodeRef
VERSION
This documentation is for Hydrogen::Curry::CodeRef 0.011.
FUNCTIONS
Each function expects a reference to a sub as its only argument and returns a coderef.
curry_execute( $coderef )
Curry the first argument of Hydrogen::CodeRef::execute
.
EXPORT
No functions are exported by this module by default. To import them all (this is usually a bad idea), use:
use Hydrogen::Curry::CodeRef -all;
To import a particular function, use:
use Hydrogen::Curry::CodeRef 'curry_execute';
To rename functions:
use Hydrogen::Curry::CodeRef 'curry_execute' => { -as => 'myfunc' };
See Exporter::Tiny::Manual::Importing for more hints on importing.
BUGS
Please report any bugs to http://github.com/tobyink/p5-hydrogen/issues.
SEE ALSO
Hydrogen, Hydrogen::CodeRef, Hydrogen::Code, Hydrogen::Topic::CodeRef, Sub::HandlesVia::HandlerLibrary::Code, Sub::Util.
AUTHOR
Toby Inkster <tobyink@cpan.org>.
COPYRIGHT AND LICENCE
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.
DISCLAIMER OF WARRANTIES
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.