http://qs321.pair.com?node_id=610073


in reply to Re: Yet another does-function-exist question
in thread Yet another does-function-exist question

I'm trying to do the opposite of what you're suggesting. I explicitly don't want to call it if it's a function.

$func = "format_hard_drive"; print "Good news, function exists!" if eval { &$func() };