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() };
In Section
Seekers of Perl Wisdom