Read up on eval in [perlfunc].
Short answer:
Block
eval { die "You commie!" };
String
my $death = 'die'; eval "$death \"You commie!\";"
In reply to Re^3: disable functions if module not installed
by pileofrogs
in thread disable functions if module not installed
by lepetitalbert
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |