Steven Haryanto > Builtin-Logged-0.05 > Log::Any::For::Builtins

Download:
Builtin-Logged-0.05.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.05   Source  

NAME ^

Log::Any::For::Builtins - Log builtin functions

VERSION ^

version 0.05

SYNOPSIS ^

 use Log::Any::For::Builtins qw(system my_qx);

 system "blah ...";
 my $out = my_qx("blah ...");

When run, it might produce logs like:

 [TRACE] system(): blah ...
 [TRACE] system() child error: 256 (exited with value 1)
 [TRACE] my_qx(): blah ...
 [TRACE] my_qx() child error: 0 (exited with value 0)
 [TRACE] my_qx() output (200 bytes): Command output...

DESCRIPTION ^

This module provides replacement for some builtin functions (and operators). The replacement behaves exactly the same, except that they are peppered with log statements from Log::Any. The log statements are at trace level.

EXPORTS ^

VARIABLES ^

SEE ALSO ^

Log::Any

Other Log::Any::For::* modules.

AUTHOR ^

Steven Haryanto <stevenharyanto@gmail.com>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Steven Haryanto.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: