1#!./perl 2 3BEGIN { 4 chdir 't' if -d 't'; 5 require './test.pl'; 6 set_up_inc('../lib'); 7} 8 9is( 1 ? 1 : 0, 1, 'compile time, true' ); 10is( 0 ? 0 : 1, 1, 'compile time, false' ); 11 12$x = 1; 13is( $x ? 1 : 0, 1, 'run time, true'); 14is( !$x ? 0 : 1, 1, 'run time, false'); 15 16done_testing(); 17