ClearCache — (obsolete)
Interchange 4.8.0:
Source: lib/Vend/Config.pm
Line 3196 (context shows lines 3196-3208)
sub parse_yesno {
my($var, $value) = @_;
$_ = $value;
if (m/^y/i || m/^t/i || m/^1/) {
return 1;
}
elsif (m/^n/i || m/^f/i || m/^0/) {
return 0;
}
else {
config_error("Use 'yes' or 'no' for the $var directive\n");
}
}