Contextual::Return - Create context-sensitive return values River stage two • 14 direct dependents • 35 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 GMT

Contextual::Return::Wrapper - Common functionality using wantarray River stage zero No dependents

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

Contextual::Return::Failure - Utility module for Contextual::Return River stage two • 14 direct dependents • 35 total dependents

DCONWAY/Contextual-Return-0.004014 - 14 Apr 2017 08:47:19 GMT

Log::Contextual - Simple logging interface with a contextual log River stage two • 15 direct dependents • 51 total dependents

Major benefits: * Efficient The default 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"...

FREW/Log-Contextual-0.008001 - 19 Jan 2018 17:15:42 GMT

Contextual::Call - call sub with caller's context River stage zero No dependents

"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

Log::Contextual::TeeLogger - Output to more than one logger River stage two • 15 direct dependents • 51 total dependents

This module is a simple logger made mostly for demonstration and initial experimentation with Log::Contextual. We recommend you use a real logger instead. For something more serious but not overly complicated, take a look at Log::Dispatchouli....

FREW/Log-Contextual-0.008001 - 19 Jan 2018 17:15:42 GMT

Log::Contextual::WarnLogger - logger for libraries using Log::Contextual River stage two • 15 direct dependents • 51 total dependents

This module is a simple logger made for libraries using Log::Contextual. We recommend the use of this logger as your default logger as it is simple and useful for most users, yet users can use "set_logger" in Log::Contextual to override your choice o...

FREW/Log-Contextual-0.008001 - 19 Jan 2018 17:15:42 GMT

Log::Contextual::SimpleLogger - Super simple logger made for playing with Log::Contextual River stage two • 15 direct dependents • 51 total dependents

This module is a simple logger made mostly for demonstration and initial experimentation with Log::Contextual. We recommend you use a real logger instead. For something more serious but not overly complicated, take a look at Log::Dispatchouli....

FREW/Log-Contextual-0.008001 - 19 Jan 2018 17:15:42 GMT

Log::Contextual::Role::Router - Abstract interface between loggers and logging code blocks River stage two • 15 direct dependents • 51 total dependents

Log::Contextual has three parts Export manager and logging method generator These tasks are handled by the "Log::Contextual" package. Logger selection and invocation The logging functions generated and exported by Log::Contextual call a method on an ...

FREW/Log-Contextual-0.008001 - 19 Jan 2018 17:15:42 GMT

9 results (0.039 seconds)