Search results for "module:overload"
overload - Package for overloading Perl operations
This pragma allows overloading of Perl's operators for a class. To overload built-in functions, see "Overriding Built-in Functions" in perlsub instead. Fundamentals Declaration Arguments of the "use overload" directive are (key, value) pairs. For the...
SHAY/perl-5.36.1 - 23 Apr 2023 15:22:26 UTC
overload - Package for overloading Perl operations
This pragma allows overloading of Perl's operators for a class. To overload built-in functions, see "Overriding Built-in Functions" in perlsub instead. Fundamentals Declaration Arguments of the "use overload" directive are (key, value) pairs. For the...
RJBS/perl-5.36.0 - 28 May 2022 00:26:10 UTC
overload::open - Hooks the native open function
This module hooks the native "open()" and/or "sysopen()" functions and passes the arguments first to callback you provide. It then calls the native open/sysopen. It does this using the XS API and replacing the OP_OPEN/OP_SYSOPEN opcode's with an XS f...
SAMCV/overload-open-1.9.6 - 22 Jan 2020 23:19:11 UTC
overload::eval - Hooks the native string eval() function
This module hooks the native eval() function and sends it to your function instead. The eval() function operates normally within your function. This module requires user pragmas which are a feature present only in 5.9.4+. Using this module is simplic...
JJORE/overload-eval-0.10 - 19 Apr 2011 02:40:44 UTC
overload::reify - Provide named methods for inherited overloaded operators
This pragma creates named methods for inherited operator overloads. The child may then modify them using such packages as Moo, Moose, or Class::Method::Modifers. Background When a package overloads an operator it provides either a method name or a co...
DJERIUS/overload-reify-0.07 - 31 May 2017 19:57:53 UTC
overload::substr - overload Perl's substr() function
This module allows an object class to overload the "substr" core function, which Perl's "overload" pragma does not allow by itself. It is invoked similarly to the "overload" pragma, being passed a single named argument which should be a code referenc...
PEVANS/overload-substr-0.03 - 16 Feb 2012 18:10:31 UTC
Unicode::Overload - Perl source filter to implement Unicode operations
Allows you to declare your own Unicode operators and have them behave as prefix (like sigma or integral), postfix (like superscripted 2), infix (like union), or outfix (like the floor operator, with the 'L'-like and 'J'-like brackets). To keep this d...
JGOFF/Unicode-Overload-0.01 - 06 Oct 2003 00:00:07 UTC
Attribute::Overload - Attribute that makes overloading easier
The "Overload" attribute, when used on a subroutine, declares that subroutine as the handler in the current package for the operation(s) indicated by the attribute options. Thus it frees you from the implementation details of how to declare overloads...
MARCEL/Attribute-Overload-1.100710 - 12 Mar 2010 13:37:11 UTC
Overload::FileCheck - override/mock perl file check -X: -e, -f, -d, ...
Overload::FileCheck provides a hook system to mock Perl filechecks OPs With this module you can provide your own pure perl code when performing file checks using one of the -X ops: -e, -f, -z, ... <https://perldoc.perl.org/functions/-X.html> -r File ...
ATOOMIC/Overload-FileCheck-0.013 - 23 Feb 2022 15:37:32 UTC
Class::MOP::Overload - Overload Meta Object
This class provides meta information for overloading in classes and roles....
ETHER/Moose-2.2203 - 22 Jan 2023 17:55:17 UTC
HTML::String::Overload - Use constant overloading with HTML::String
This module installs a constant overload for strings - see "Overloading constants" in overload in overload.pm's docs for how that works. On import, we both set up the overload, and use B::Hooks::EndOfScope to register a callback that will remove it a...
MSTROUT/HTML-String-1.000006 - 15 Sep 2013 19:49:08 UTC
Smart::Match::Overload - An internal class for closure based matcher objects.
LEONT/Smart-Match-0.008
-
27 Jun 2015 17:50:05 UTC
Attribute::Overload::Match - argument-dependent handlers for overloaded operators
The module is a wrapper for overload, that provides a simple syntax for calling different operator handlers for different passed arguments. The idea is a curious ( but probably not a very practical ) mix of Attribute::Overload and Sub::PatMat ....
KARASIK/Attribute-Overload-Match-0.01 - 28 Feb 2007 11:51:54 UTC