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 "Return::Value"

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

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

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

lib/Perl/Lint/Policy/ErrorHandling/RequireCheckingReturnValueOfEval.pm River stage one • 1 direct dependent • 1 total dependent

MOZNION/Perl-Lint-0.25 - 27 Sep 2016 02:11:22 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

CPANPLUS::Backend::RV - return value objects River stage two • 35 direct dependents • 40 total dependents

This module provides return value objects for multi-module calls to CPANPLUS::Backend. In boolean context, it returns the status of the overall result (ie, the same as the "ok" method would)....

BINGOS/CPANPLUS-0.9914 - 23 Nov 2021 19:30:10 UTC - Search in distribution

Google::Ads::AdWords::v201809::AdReturnValue River stage zero No dependents

Perl data type class for the XML Schema defined complexType AdReturnValue from the namespace https://adwords.google.com/api/adwords/cm/v201809. A container for return values from the {@link AdService}. PROPERTIES The following properties may be acces...

SUNDQUIST/Google-Ads-AdWords-Client-5.8.2 - 26 Sep 2019 16:00:36 UTC - Search in distribution

random - have rand() return integers or fixed values River stage zero No dependents

JMELTZER/random-0.02 - 13 Mar 2009 22:33:02 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

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

Stone - In-memory storage for hierarchical tag/value data structures River stage zero No dependents

A Stone consists of a series of tag/value pairs. Any given tag may be single-valued or multivalued. A value can be another Stone, allowing nested components. A big Stone can be made up of a lot of little stones (pebbles?). You can obtain a Stone from...

LDS/Boulder-1.30 - 14 Dec 2002 02:06:29 UTC - Search in distribution

results - why throw exceptions when you can return them? River stage zero No dependents

This module is a Perl implementation of Rust's standard error handling mechanism. Rust doesn't have a "try"/"catch"/"throw" mechanism for throwing errors. Instead, functions can be declared as returning a "Result" which may be an "Ok" result or an "E...

TOBYINK/results-0.006 - 02 Dec 2022 12:37:25 UTC - Search in distribution
  • Result::Trait - the trait which all Result objects implement head1 SYNOPSIS
11,799 results (0.232 seconds)