$ perl -Mv5.40 -e'my $x= Inf; say $x' Bareword "Inf" not allowed while "strict subs" in use at -e line 1. Execution of -e aborted due to compilation errors.