Contextual::Return - Create context-sensitive return values

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.004007   (2 reviews) - 05 Oct 2012 22:05:15 GMT - Search in distribution

Contextual::Return::Wrapper - Common functionality using wantarray

The functions shown in the "SYNOPSIS" can be generally referred to as list mutators. When the return list is evaluated in a scalar context, as shown in the *formalize()* example above, the result is not what's usually expected. Contextual::Return::Wr...

TQISJIM/Contextual-Return-Wrapper-0.01 - 13 Aug 2013 03:48:37 GMT - Search in distribution

P - Safer, friendlier printf/print/sprintf + say

"P" is a combined printf, sprintf & say in 1 routine. It was designed to save on typing and undef checking when printing strings. It saves on in that you don't have constantly insert or move "newline"s ("\n"). If you change a string into a formatted ...

LAWALSH/P-1.1.24   (2 reviews) - 12 Jan 2014 10:18:53 GMT - Search in distribution

Want - A generalisation of wantarray

This module generalises the mechanism of the wantarray function, allowing a function to determine in some detail how its return value is going to be immediately used. Top-level contexts: The three kinds of top-level context are well known: VOID The r...

ROBIN/Want-0.26   (5 reviews) - 28 Apr 2015 11:35:19 GMT - Search in distribution

McBain - Framework for building portable, auto-validating and self-documenting APIs

"McBain" is a framework for building powerful APIs and applications. Writing an API with "McBain" provides the following benefits: * Lightweight-ness "McBain" is extremely lightweight, with minimal dependencies on non-core modules; only two packages;...

IDOPEREL/McBain-2.001000 - 05 Jan 2015 18:30:32 GMT - Search in distribution

mogadm - MogileFS admin tool

DORMANDO/MogileFS-Utils-2.29 - 16 Dec 2014 07:07:22 GMT - Search in distribution

Changes - List of significant changes to Yahoo::Search

TIMB/Yahoo-Search-1.11.3   (1 review) - 14 Jun 2010 19:17:07 GMT - Search in distribution
  • Yahoo::Search - Perl interface to the Yahoo! Search public API.

Log::Fu - Simplified and developer-friendly screen logging

This is a simple interface for console logging. It provides a few functions, "log_info", "log_debug", "log_warn", "log_crit", and "log_err". They all take strings as arguments, and can take as many arguments as you so desire (so any concatenation is ...

MNUNBERG/Log-Fu-0.31 - 23 Oct 2013 02:13:53 GMT - Search in distribution

IO::All - IO::All to Larry Wall!

IO::All combines all of the best Perl IO modules into a single nifty object oriented interface to greatly simplify your everyday Perl IO idioms. It exports a single function called "io", which returns a new IO::All object. And that object can do it a...

INGY/IO-All-0.86   (9 reviews) - 02 Jan 2015 02:45:16 GMT - Search in distribution

RDF::Flow - RDF data flow pipeline

RDF::Flow provides a simple framework on top of RDF::Trine to define and connect RDF sources in data flow pipes. In a nutshell, a source is connected to some data (possibly RDF but it could also wrap any other forms) and you can retrieve RDF data fro...

VOJ/RDF-Flow-0.178 - 23 Feb 2012 13:41:10 GMT - Search in distribution

Contextual::Call - call sub with caller's context

"ccall" function can invoke a function undef specified context (default is caller's context) and reproduce return value of that invocation. This function is useful when you will override a method which returns different values between scalar and list...

HIO/Contextual-Call-0.01 - 24 Mar 2007 15:28:50 GMT - Search in distribution

Mac::Files - Macintosh Toolbox Interface to the File and Alias Manager

CNANDOR/Mac-Carbon-0.82   (1 review) - 06 Oct 2009 04:54:36 GMT - Search in distribution

System::Sub - Wrap external command with a DWIM sub

See also "System::Sub::AutoLoad" for even simpler usage. "System::Sub" provides in your package a sub that wraps the call to an external program. The return value is line(s) dependending on context ("wantarray"). This may be what you need if you want...

DOLMEN/System-Sub-0.150960 - 06 Apr 2015 21:15:04 GMT - Search in distribution

Sub::Uplevel - apparently run a function in a higher stack frame

Like Tcl's uplevel() function, but not quite so dangerous. The idea is just to fool caller(). All the really naughty bits of Tcl's uplevel() are avoided. THIS IS NOT THE SORT OF THING YOU WANT TO DO EVERYDAY uplevel uplevel $num_frames, \&func, @args...

DAGOLDEN/Sub-Uplevel-0.25   (2 reviews) - 27 Jan 2015 01:33:45 GMT - Search in distribution

Log::Contextual - Simple logging interface with a contextual log

Major benefits: * Efficient The logging functions take blocks, so if a log level is disabled, the block will not run: # the following won't run if debug is off log_debug { "the new count in the database is " . $rs->count }; Similarly, the "D" prefixe...

FREW/Log-Contextual-0.006005 - 14 Mar 2015 17:55:30 GMT - Search in distribution

Data::Domain - Data description and validation

A data domain is a description of a set of values, either scalar or structured (arrays or hashes). The description can include many constraints, like minimal or maximal values, regular expressions, required fields, forbidden fields, and also contextu...

DAMI/Data-Domain-1.06   (1 review) - 05 Apr 2014 16:32:50 GMT - Search in distribution

XML::LibXSLT - Interface to the GNOME libxslt library

This module is an interface to the GNOME project's libxslt. This is an extremely good XSLT engine, highly compliant and also very fast. I have tests showing this to be more than twice as fast as Sablotron....

SHLOMIF/XML-LibXSLT-1.94   (2 reviews) - 19 Jan 2015 08:49:23 GMT - Search in distribution

DMA::ISODate - ISO date handling.

The primary date time we use is the ISO date, almost always in the basic form of YYYYMMDD , like 20021209, but the DMA::ISOdate class will attempt to create an ISODate from what ever you give it: Input data Canonical ISO result YYMMDD => 19YYMMDD0000...

DALEAMON/DMAMisc-1.01-3 - 01 Sep 2008 10:57:40 GMT - Search in distribution

IO::Prompter - Prompt for input, read it, clean it, return it.

IO::Prompter exports a single subroutine, "prompt", that prints a prompt (but only if the program's selected input and output streams are connected to a terminal), then reads some input, then chomps it, and finally returns an object representing that...

DCONWAY/IO-Prompter-0.004012 - 03 Feb 2015 22:47:19 GMT - Search in distribution

DBI::Profile - Performance profiling and benchmarking for the DBI

The DBI::Profile module provides a simple interface to collect and report performance and benchmarking data from the DBI. For a more elaborate interface, suitable for larger programs, see DBI::ProfileDumper and dbiprof. For Apache/mod_perl applicatio...

TIMB/DBI-1.633   (27 reviews) - 11 Jan 2015 13:26:05 GMT - Search in distribution