Daniel Browning > Business-Shipping > Business::Shipping::Debug

Download:
Business-Shipping-2.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  2
View Bugs
Report a bug
Module Version: 211   Source  

NAME ^

Business::Shipping::Debug - For backwards compatibility only

VERSION ^

$Rev: 211 $

SYNOPSIS ^

 use Business::Shipping::Logging;
 
 trace "called with parameters: $x, $y, and $z";
 debug "value of x = $x";
 log_error "encountered invalid data: $x";
 debug3 "here is a big list of all the potential data values: $big_list";

DESCRIPTION ^

Note that this module has been depreciated. Business::Shipping::Logging is the correct module to use now. What is left here is a compatibility wrapper, and it may disappear in a future version.

Aside from the usual stuff, these functions have been specially mapped:

    error_log => error 
    error     => moved to Shipping::user_error  
                 ('user_error' calls error, but also logs the message for 
                 display to the user).
    uneval    => moved to Util::uneval

So, for compatibility, the 'error' sub here replaces the one that was normally at Business::Shipping::error() (now called 'user_error()' ).

'uneval', on the other hand, should never have been here in the first place.

Exports several functions useful for logging debug messages, trace information, or error messages.

METHODS ^

AUTHOR ^

Dan Browning <db@kavod.com>, Kavod Technologies, http://www.kavod.com.

COPYRIGHT AND LICENCE ^

Copyright (c) 2003-2004 Kavod Technologies, Dan Browning. All rights reserved. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. See LICENSE for more info.