64 results (0.745 seconds)
Contextual::Return - Create context-sensitive return values 1 ++

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 3 ++

"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 1 ++

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.23   (4 reviews) - 24 Mar 2014 00:35:21 GMT - Search in distribution

mogadm - MogileFS admin tool ++
DORMANDO/MogileFS-Utils-2.28 - 08 Aug 2013 03:50:18 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

App::Run - Create simple (command line) applications ++

App::Run provides a boilerplate to build applications that can (also) be run from command line. The module comes in a single package that facilitates: * Setting configuration values (from file or from command line) * Initialization * Logging App::Run...

VOJ/App-Run-0.03 - 11 Dec 2013 09:02:40 GMT - Search in distribution

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

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.65   (7 reviews) - 14 Jun 2014 19:50:29 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 ++

Constants Constants for file access permissions. Use these constants to request a type of access to a file or fork, or to deny a type of access to a file or fork to other paths that may request access. Note that it is possible, on Mac OS 8 and 9, to ...

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 4 ++

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.130210 - 21 Jan 2013 22:36:08 GMT - Search in distribution

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

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.24   (2 reviews) - 21 Feb 2012 03:20:14 GMT - Search in distribution

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

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.006003 - 22 Feb 2014 15:42:31 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 5 ++

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. OPTIONS XML::LibXSLT has some global options...

SHLOMIF/XML-LibXSLT-1.92   (2 reviews) - 12 Apr 2014 08:24:11 GMT - Search in distribution

DMA::ISODate - ISO date handling. ++
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. 5 ++

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.004010 - 03 Oct 2013 08:18:29 GMT - Search in distribution

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

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.631   (27 reviews) - 20 Jan 2014 11:12:44 GMT - Search in distribution




Hosting generously
sponsored by Bytemark