RosettaCodeData/Task/Introspection/Perl/introspection-3.pl

3 lines
136 B
Perl

eval('abs(0)'); # eval("") instead of eval{}; the latter is not for run-time check
print "abs() doesn't seem to be available\n" if $@;