The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Search results for "Return-Value"

Contextual::Return - Create context-sensitive return values River stage two • 13 direct dependents • 37 total dependents

Usually, when you need to create a subroutine that returns different values in different contexts (list, scalar, or void), you write something like: sub get_server_status { my ($server_ID) = @_; # Acquire server data somehow... my %server_data = _asc...

DCONWAY/Contextual-Return-0.004014 - 14 Apr 2017 08:47:19 UTC - Search in distribution

Return::Value - (deprecated) polymorphic return values River stage two • 3 direct dependents • 48 total dependents

Polymorphic return values are a horrible idea, but this library was written based on the notion that they were useful. Often, we just want to know if something worked or not. Other times, we'd like to know what the error text was. Still others, we ma...

RJBS/Return-Value-1.666005 - 04 Dec 2015 03:20:55 UTC - Search in distribution

ReturnValue - A structured return value for failure or success River stage one • 2 direct dependents • 2 total dependents

The "ReturnValue" class provides a very simple wrapper around a value so you can tell if it's a success or failure without taking pains to examine the particular value. Instead of using exceptions, you inspect the class of the object you get back. Er...

BDFOY/ReturnValue-0.903 - 26 Jan 2022 06:49:25 UTC - Search in distribution

Acme::ReturnValue - report interesting return values River stage zero No dependents

"Acme::ReturnValue" will list 'interesting' return values of modules. 'Interesting' means something other than '1'. See <https://returnvalues.plix.at> for the results of running Acme::ReturnValue on the whole CPAN. METHODS run run from the commandlin...

DOMM/Acme-ReturnValue-1.004 - 09 Jan 2021 22:09:33 UTC - Search in distribution

Class::ReturnValue - A return-value object that lets you treat it as as a boolean, array or object River stage two • 5 direct dependents • 30 total dependents

Class::ReturnValue is a "clever" return value object that can allow code calling your routine to expect: a boolean value (did it fail) or a list (what are the return values)...

JESSE/Class-ReturnValue-0.55 - 20 Aug 2007 20:42:56 UTC - Search in distribution

Test::Mockify::ReturnValue - To define return values River stage zero No dependents

Use Test::Modify::ReturnValue to define different types of return values. See method description for more details....

CHRISBR/Test-Mockify-2.4 - 12 Apr 2018 14:55:14 UTC - Search in distribution

DBIx::Core::Handle::ReturnValue - subclassed DBI connection handle River stage zero No dependents

Subclassed DBI connection handle with added convenience features. In addition to the features added by Dancer::Plugin::Database::Core::Handle, this module adds a return value to "quick_insert" if requested....

DSONNTAG/DBIx-Core-Handle-ReturnValue-0.02 - 03 Feb 2018 06:23:04 UTC - Search in distribution

Sub::Filter - automatically filter function's return value River stage zero No dependents

This module allows a function to be augmented with a filter that will be applied to its return values. Whenever the function returns, by whatever means, the value (or list of values) being returned is passed through the filter before going to the cal...

ZEFRAM/Sub-Filter-0.004 - 26 Aug 2013 00:26:18 UTC - Search in distribution

true - automatically return a true value when a file is required River stage two • 21 direct dependents • 48 total dependents

Perl's "require" builtin (and its "use" wrapper) requires the files it loads to return a true value. This is usually accomplished by placing a single 1; statement at the end of included scripts or modules. It's not onerous to add but it's a speed bum...

CHOCOLATE/true-v1.0.2 - 10 Nov 2020 22:44:41 UTC - Search in distribution

Tk_StrictMotif - Return value of tk_strictMotif variable River stage three • 160 direct dependents • 171 total dependents

This procedure returns the current value of the tk_strictMotif variable in the interpreter associated with *tkwin*'s application. The value is returned as an integer that is either 0 or 1. 1 means that strict Motif compliance has been requested, so a...

SREZIC/Tk-804.036 - 14 Feb 2021 12:53:44 UTC - Search in distribution

Ubic::Result - common return value for many ubic interfaces River stage two • 9 direct dependents • 15 total dependents

MMCLERIC/Ubic-1.60 - 24 Aug 2016 22:44:09 UTC - Search in distribution

FLTK - Perl interface to the Fast Light Toolkit Library River stage zero No dependents

This modules provides hooks to create GUI interfaces using the Fast Light Toolkit Library in Perl. This documentation is barely started, let alone near completion. The Perl interface to FLTK is designed to emulate FLTK's C++ API as closely as possibl...

MKENNEDY/FLTK-0.52 - 17 Nov 2000 20:18:35 UTC - Search in distribution

Sub::Spy - Sub::Spy is subref wrapper that records arguments, return value, and exception thrown. River stage zero No dependents

Sub:Spy provies the way to inspect each subref calls. It might be useful for testing callback-style interface or asyncronous subref call. (e.g. AnyEvent)...

ZENTOOO/Sub-Spy-0.04 - 28 Oct 2011 09:06:35 UTC - Search in distribution

App::CELL::Status - class for return value objects River stage one • 5 direct dependents • 5 total dependents

An App::CELL::Status object is a reference to a hash containing some or all of the following keys (attributes): "level" - the status level (see "new", below) "message" - message explaining the status "caller" - an array reference containing the three...

SMITHFARM/App-CELL-0.231 - 28 Jun 2022 10:07:21 UTC - Search in distribution

H - Method wrappers for hash construction. River stage zero No dependents

It is nice to make hashes like this: { foo => $thing1->foo(), bar => $thing2->bar(), } Note that our hash keys and method names match, this is a common situation. There are many pitfalls, "$thing1->foo()" may return a scalar, an empty list, an uneven...

EXODIST/H-0.001 - 15 Mar 2018 06:06:50 UTC - Search in distribution

mb - Can easy script in Big5, Big5-HKSCS, GBK, Sjis(also CP932), UHC, UTF-8, ... River stage zero No dependents

MBCS has been said to be an acronym for Multi Byte "Character" Set. (However, these days, it should be considered an acronym for Multi Byte "Codepoint" Set.) In any case, it is certain that "M" and "B" in mb.pm modulino are the first two characters o...

INA/mb-0.57 - 06 Jul 2023 15:12:01 UTC - Search in distribution

ack - grep-like text finder River stage two • 24 direct dependents • 28 total dependents

ack is designed as an alternative to grep for programmers. ack searches the named input FILEs or DIRECTORYs for lines containing a match to the given PATTERN. By default, ack prints the matching lines. If no FILE or DIRECTORY is given, the current di...

PETDANCE/ack-v3.7.0 - 27 Feb 2023 14:52:52 UTC - Search in distribution

V - Print version of the specified module(s). River stage two • 7 direct dependents • 10 total dependents

This module uses stolen code from Module::Info to find the location and version of the specified module(s). It prints them and exit()s. It defines "import()" and is based on an idea from Michael Schwern on the perl5-porters list. See the discussion: ...

ABELTJE/V-0.19 - 08 Jan 2024 15:30:19 UTC - Search in distribution

P - Safer, friendlier printf/print/sprintf + say River stage zero No dependents

"P" is a combined print, printf, sprintf & say in 1 routine. It saves tremendously on development time. It's not just a 1 character 'verb', but has other time-saving and powerful features. It has the convenience of "say" in adding a newline when need...

LAWALSH/P-1.1.41 - 31 Oct 2019 06:30:48 UTC - Search in distribution

B - The Perl Compiler Backend River stage five • 11292 direct dependents • 32664 total dependents

The "B" module supplies classes which allow a Perl program to delve into its own innards. It is the module used to implement the "backends" of the Perl compiler. Usage of the compiler does not require knowledge of this module: see the O module for th...

RJBS/perl-5.36.0 - 28 May 2022 00:26:10 UTC - Search in distribution
11,790 results (0.275 seconds)