NAME
Hydrogen::Curry::String - easily curry functions from Hydrogen::String
VERSION
This documentation is for Hydrogen::Curry::String 0.020000, which is based on Sub::HandlesVia::HandlerLibrary::String 0.046.
FUNCTIONS
Each function expects a string scalar as its only argument and returns a coderef.
curry_append( $string )
Curry the first argument of Hydrogen::String::append
.
curry_chomp( $string )
Curry the first argument of Hydrogen::String::chomp
.
curry_chop( $string )
Curry the first argument of Hydrogen::String::chop
.
curry_clear( $string )
Curry the first argument of Hydrogen::String::clear
.
curry_cmp( $string )
Curry the first argument of Hydrogen::String::cmp
.
curry_cmpi( $string )
Curry the first argument of Hydrogen::String::cmpi
.
curry_contains( $string )
Curry the first argument of Hydrogen::String::contains
.
curry_contains_i( $string )
Curry the first argument of Hydrogen::String::contains_i
.
curry_ends_with( $string )
Curry the first argument of Hydrogen::String::ends_with
.
curry_ends_with_i( $string )
Curry the first argument of Hydrogen::String::ends_with_i
.
curry_eq( $string )
Curry the first argument of Hydrogen::String::eq
.
curry_eqi( $string )
Curry the first argument of Hydrogen::String::eqi
.
curry_fc( $string )
Curry the first argument of Hydrogen::String::fc
.
curry_ge( $string )
Curry the first argument of Hydrogen::String::ge
.
curry_gei( $string )
Curry the first argument of Hydrogen::String::gei
.
curry_get( $string )
Curry the first argument of Hydrogen::String::get
.
curry_gt( $string )
Curry the first argument of Hydrogen::String::gt
.
curry_gti( $string )
Curry the first argument of Hydrogen::String::gti
.
curry_inc( $string )
Curry the first argument of Hydrogen::String::inc
.
curry_lc( $string )
Curry the first argument of Hydrogen::String::lc
.
curry_le( $string )
Curry the first argument of Hydrogen::String::le
.
curry_lei( $string )
Curry the first argument of Hydrogen::String::lei
.
curry_length( $string )
Curry the first argument of Hydrogen::String::length
.
curry_lt( $string )
Curry the first argument of Hydrogen::String::lt
.
curry_lti( $string )
Curry the first argument of Hydrogen::String::lti
.
curry_match( $string )
Curry the first argument of Hydrogen::String::match
.
curry_match_i( $string )
Curry the first argument of Hydrogen::String::match_i
.
curry_ne( $string )
Curry the first argument of Hydrogen::String::ne
.
curry_nei( $string )
Curry the first argument of Hydrogen::String::nei
.
curry_prepend( $string )
Curry the first argument of Hydrogen::String::prepend
.
curry_replace( $string )
Curry the first argument of Hydrogen::String::replace
.
curry_replace_globally( $string )
Curry the first argument of Hydrogen::String::replace_globally
.
curry_reset( $string )
Curry the first argument of Hydrogen::String::reset
.
curry_set( $string )
Curry the first argument of Hydrogen::String::set
.
curry_starts_with( $string )
Curry the first argument of Hydrogen::String::starts_with
.
curry_starts_with_i( $string )
Curry the first argument of Hydrogen::String::starts_with_i
.
curry_substr( $string )
Curry the first argument of Hydrogen::String::substr
.
curry_uc( $string )
Curry the first argument of Hydrogen::String::uc
.
EXPORT
No functions are exported by this module by default. To import them all (this is usually a bad idea), use:
use Hydrogen::Curry::String -all;
To import a particular function, use:
use Hydrogen::Curry::String 'curry_chop';
To rename functions:
use Hydrogen::Curry::String 'curry_chop' => { -as => 'myfunc' };
On Perl 5.37.2+ (or if Lexical::Sub is installed) you can import lexically:
use Hydrogen::Curry::String -lexical, 'curry_chop';
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::String, Hydrogen::Topic::String, Sub::HandlesVia::HandlerLibrary::String, String::Util.
AUTHOR
Toby Inkster <tobyink@cpan.org>.
COPYRIGHT AND LICENCE
This software is copyright (c) 2022-2023 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.