in reply to Re^2: disable functions if module not installed
in thread disable functions if module not installed
Read up on eval in [perlfunc].
Short answer:
Block
eval { die "You commie!" };
String
my $death = 'die'; eval "$death \"You commie!\";"
|
---|
In Section
Seekers of Perl Wisdom