RSP_boolConvert
Name
RSP_boolConvert -- Converts boolean value to T/F.
Synopsis
$err = $mod->boolConvert
($data);
Description
This function converts the given
string data to an integer (which
represents a Boolean).
Values resolving to TRUE:
Values resolving to FALSE
0, down, off, false, disabled
Returns
Returns a 1 if the given string is equivalent to true, and 0 if equivalent
to false (or -1 if an error occurred).
In case of error, the program will croak() with an appriopriate message.