[ create a new paste ] login | about

Link: http://codepad.org/faK4Xrqd    [ raw code | output | fork ]

slevy1ster - Perl, pasted on Aug 21:
1
2
3
4
5
6
7
8
if (!0) {
   printf("False: Zero\n");
}
if (-16) { 
   printf("True: Non-Zero\n");
}
printf("False: empty string %s\n", (3 < 2));
printf("True (Relational):  %d \n", (3 > 1));


Output:
1
2
3
4
False: Zero
True: Non-Zero
False: empty string 
True (Relational):  1 


Create a new paste based on this one


Comments: