Create a gist now

Instantly share code, notes, and snippets.

Perl> undef == 10;
Use of uninitialized value in numeric eq (==) at (eval 2) line 3.
Perl> undef > 10;
Use of uninitialized value in numeric gt (>) at (eval 3) line 3.
Perl> undef < 10;
Warning: Use of "undef" without parentheses is ambiguous at (eval 4) line 3.
[!] compilation error: Unterminated <> operator at (eval 4) line 3.
Perl> (undef) < 10;
Use of uninitialized value in numeric lt (<) at (eval 5) line 3.
1
Perl> 10 == 10;
1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment