The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Search results for "module:UNIVERSAL"

UNIVERSAL - base class for ALL classes (blessed references) River stage five • 11693 direct dependents • 33184 total dependents

"UNIVERSAL" is the base class from which all blessed references inherit. See perlobj. "UNIVERSAL" provides the following methods: "$obj->isa( TYPE )" "CLASS->isa( TYPE )" "eval { VAL->isa( TYPE ) }" Where "TYPE" is a package name $obj is a blessed re...

PEVANS/perl-5.38.2 - 29 Nov 2023 16:10:36 UTC

UNIVERSAL - base class for ALL classes (blessed references) River stage five • 11693 direct dependents • 33184 total dependents

"UNIVERSAL" is the base class from which all blessed references inherit. See perlobj. "UNIVERSAL" provides the following methods: "$obj->isa( TYPE )" "CLASS->isa( TYPE )" "eval { VAL->isa( TYPE ) }" Where "TYPE" is a package name $obj is a blessed re...

RJBS/perl-5.36.0 - 28 May 2022 00:26:10 UTC

first - use the first loadable module in a list River stage one • 2 direct dependents • 3 total dependents

Two main circumstances I've encountered where this is useful is: * when you have a list of modules that have the same interface but are more desirable for one reason or another like speed, portability, or availability. use first 'CGI::Simple', 'CGI::...

DMUEY/first-v0.0.1 - 03 Feb 2007 16:40:49 UTC

UNIVERSAL::Acme - Because it's a METHOD, hoser. River stage zero No dependents

Tired of people who refuse to call functions as methods? Show 'em good with "UNIVERSAL::Acme"....

SEANO/UNIVERSAL-Acme-0.01 - 09 Mar 2007 13:21:47 UTC

UNIVERSAL::cant - See if an object or package cant do something River stage zero No dependents

Provides UNIVERSAL methods that is the opposite of can()....

DMUEY/UNIVERSAL-cant-v0.0.1 - 04 Apr 2007 02:48:31 UTC

UNIVERSAL::moniker River stage two • 7 direct dependents • 24 total dependents

Class names in Perl often don't sound great when spoken, or look good when written in prose. For this reason, we tend to say things like "customer" or "basket" when we are referring to "My::Site::User::Customer" or "My::Site::Shop::Basket". We though...

KASEI/UNIVERSAL-moniker-0.08 - 21 Jul 2004 15:01:34 UTC

UNIVERSAL::require - require() modules from a variable [deprecated] River stage three • 201 direct dependents • 596 total dependents

Before using this module, you should look at the alternatives, some of which are listed in SEE ALSO below. This module provides a safe mechanism for loading a module at runtime, when you have the name of the module in a variable. If you've ever had t...

NEILB/UNIVERSAL-require-0.19 - 27 Mar 2021 15:52:16 UTC

AnyLoader - Automagically loads modules for fully qualified functions River stage zero No dependents

AnyLoader will automagically load the module and import the function for any fully qualified function call. Essentially, this means you can just call functions without worrying about loading the module first. In the example above, AnyLoader does the ...

MSCHWERN/AnyLoader-0.04 - 29 Nov 2000 15:18:32 UTC

UNIVERSAL::isa - Attempt to recover from people calling UNIVERSAL::isa as a function River stage three • 19 direct dependents • 581 total dependents

Whenever you use "isa" in UNIVERSAL as a function, a kitten using Test::MockObject dies. Normally, the kittens would be helpless, but if they use UNIVERSAL::isa (the module whose docs you are reading), the kittens can live long and prosper. This modu...

ETHER/UNIVERSAL-isa-1.20171012 - 12 Oct 2017 05:36:14 UTC

UNIVERSAL::ref - Turns ref() into a multimethod River stage two • 8 direct dependents • 10 total dependents

This module changes the behavior of the builtin function ref(). If ref() is called on an object that has requested an overloaded ref, the object's "->ref" method will be called and its return value used instead....

JJORE/UNIVERSAL-ref-0.14 - 23 Jan 2011 19:17:29 UTC

UNIVERSAL::can - work around buggy code calling UNIVERSAL::can() as a function River stage three • 7 direct dependents • 554 total dependents

The UNIVERSAL class provides a few default methods so that all objects can use them. Object orientation allows programmers to override these methods in subclasses to provide more specific and appropriate behavior. Some authors call methods in the UNI...

CHROMATIC/UNIVERSAL-can-1.20140328 - 28 Mar 2014 23:23:05 UTC

UNIVERSAL::new - Load a module when you call the new method on it River stage zero No dependents

This module installs a universal, fallback "new" method. When called, it loads the invoking module like "require" would. If the module has a "new" method, control is transferred to that method. This is most useful for command line scripts via the U a...

DAGOLDEN/UNIVERSAL-new-0.001 - 06 Apr 2013 02:25:47 UTC

UNIVERSAL::has - Returns the methods an object can call. River stage zero No dependents

This is an attempt to add introspection to Perl. EXPORT UNIVERSAL::has...

BPMEDLEY/UNIVERSAL-has-0.05 - 15 Dec 2012 20:40:41 UTC

UNIVERSAL::to_s - to_s method with all objects. River stage zero No dependents

HIO/String-String-0.01 - 03 Jul 2006 16:57:27 UTC

UNIVERSAL::DOES - Provides UNIVERSAL::DOES() method for older perls River stage two • 4 direct dependents • 15 total dependents

"UNIVERSAL::DOES" provides a "UNIVERSAL::DOES()" method for compatibility with perl 5.10.x. This module also provides a "does()" function that checks something does some roles, suggested in perltodo....

GFUJI/UNIVERSAL-DOES-0.005 - 22 Aug 2014 23:13:39 UTC

UNIVERSAL::dump - add dump and other methods to all classes and objects River stage one • 1 direct dependent • 1 total dependent

Loading the UNIVERSAL::dump module adds one or more methods to all classes and methods. It is intended as a debugging aid, alleviating the need to add and remove debugging code from modules and programs. By default, it adds a method "dump" to all cla...

LNATION/UNIVERSAL-dump-0.09 - 07 Jun 2022 10:07:39 UTC

lib/UNIVERSAL/Object/Method.pm River stage zero No dependents

GUGOD/Object-Method-0.04 - 16 Mar 2021 00:44:55 UTC

UNIVERSAL::which - tells fully qualified name of the method River stage zero No dependents

UNIVERSAL::which provides only one method, "which". As the name suggests, it returns the fully qualified name of a given method. Sometimes you want to know the true origin of a method but inheritance and AUTOLOAD gets in your way. This module does ju...

DANKOGAI/UNIVERSAL-which-0.06 - 15 May 2007 16:05:38 UTC

Config::Universal - Universal object oriented config file reader River stage zero No dependents

This module is designed to read object structured config files....

ITGURU/Config-Universal-0.5 - 17 Nov 2005 07:05:43 UTC

UNIVERSAL::Object - A useful base class River stage two • 6 direct dependents • 10 total dependents

This is a simple base class that provides a protocol for object construction and destruction. It aims to be as simple as possible while still being complete....

STEVAN/UNIVERSAL-Object-0.17 - 07 May 2023 18:19:35 UTC
56 results (0.018 seconds)