Search results for "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...
PEVANS/perl-5.38.2 - 29 Nov 2023 16:10:36 UTC - Search in distribution- overload - Package for overloading Perl operations
- lib/overload/numbers.pm
- lib/overload/numbers.pm
- 70 more results from perl »
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 - Search in distribution
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 - Search in distribution
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 - Search in distribution
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 - Search in distribution
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 - Search in distribution
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 - Search in distribution
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 - Search in distribution
Class::MOP::Overload - Overload Meta Object
This class provides meta information for overloading in classes and roles....
ETHER/Moose-2.2207 - 21 Jan 2024 01:10:45 UTC - Search in distribution
Bit::Vector::Overload - Overloaded operators add-on for Bit::Vector
* "$config = Bit::Vector->Configuration();" * "Bit::Vector->Configuration($config);" * "$oldconfig = Bit::Vector->Configuration($newconfig);" This method serves to alter the semantics (i.e., behaviour) of certain overloaded operators (which are all i...
STBEY/Bit-Vector-7.4 - 20 Nov 2014 09:49:01 UTC - Search in distribution- lib/Bit/Vector/Overload.pm
- Bit::Vector - Efficient bit vector, set of integers and "big int" math library
- Bit::Vector::String - Generic string import/export for Bit::Vector
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 - Search in distribution
Smart::Match::Overload - An internal class for closure based matcher objects.
LEONT/Smart-Match-0.008
-
27 Jun 2015 17:50:05 UTC
-
Search in distribution
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 - Search in distribution
Language::Prolog::Types::overload - nice formating for Prolog terms.
When this module is loaded, Prolog terms are automatically converted to strings when printed or concatenated. When used in bool context, all terms but variables return true, even the nil term. In numerical context, functors return its arity and lists...
SALVA/Language-Prolog-Types-0.10 - 19 Mar 2007 09:27:39 UTC - Search in distribution- Language::Prolog::Types - Prolog types in Perl.
Data::Capture - Perl6 Capture objects
CLKAO/Data-Capture-0.27
-
14 May 2008 14:52:22 UTC
-
Search in distribution
CGI::Untaint::email - validate an email address
CGI::Untaint::email input handler verifies that it is a valid RFC2822 mailbox format. The resulting value will be a Mail::Address instance....
MIYAGAWA/CGI-Untaint-email-0.03 - 29 Oct 2001 11:50:53 UTC - Search in distribution
Devel::OverloadInfo - introspect overloaded operators
Devel::OverloadInfo returns information about overloaded operators for a given class (or object), including where in the inheritance hierarchy the overloads are declared and where the code implementing them is....
ILMARI/Devel-OverloadInfo-0.007 - 28 Apr 2021 15:19:20 UTC - Search in distribution