Skip to content

Instantly share code, notes, and snippets.

@mpeters
Created July 16, 2009 14:20
Show Gist options
  • Save mpeters/148428 to your computer and use it in GitHub Desktop.
Save mpeters/148428 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
print (undef() > 10 ? "TRUE\n" : "FALSE\n");
print (undef() < 10 ? "TRUE\n" : "FALSE\n");
print (undef() == 10 ? "TRUE\n" : "FALSE\n");
print (undef() == undef() ? "TRUE\n" : "FALSE\n");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment