From 45044fd2470c06b984b10c4f14b00d259edb8bde Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 6 Dec 2012 15:08:46 +0000 Subject: [PATCH] No need for old error handling now. --- ConfigMicro.pm | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/ConfigMicro.pm b/ConfigMicro.pm index 48e9ac8..9bf0202 100644 --- a/ConfigMicro.pm +++ b/ConfigMicro.pm @@ -358,29 +358,5 @@ sub set_db_config { } -# ============================================================================ -# Error functions - -## @cmethod private $ set_error($errstr) -# Set the class-wide errstr variable to an error message, and return undef. This -# function supports error reporting in the constructor and other class methods. -# -# @param errstr The error message to store in the class errstr variable. -# @return Always returns undef. -sub set_error { $errstr = shift; return undef; } - - -## @method private $ self_error($errstr) -# Set the object's errstr value to an error message, and return undef. This -# function supports error reporting in various methods throughout the class. -# -# @param errstr The error message to store in the object's errstr. -# @return Always returns undef. -sub self_error { - my $self = shift; - $self -> {"errstr"} = shift; - - return undef; -} 1;