in reply to On goto
if u want the script will not die just put it in eval
like
my $answer; eval{$answer=getConf('databasetype');}; if($@){ # this is an error }
In Section
Seekers of Perl Wisdom