Re: bool test return issues

2013-01-04 Thread Rich Johnson
I'm getting both new lines to print. [code] use 5.10.0; print "1: "; print 3 > 1, "\n"; print "2: "; print 3 == 3, "\n"; [/code] [output] >perl booltest.pl 1: 1 2: 1 > [/output] Richard Johnson (708)253-8130 On Fri, Jan 4, 2013 at 5:43 PM, Elim Qiu wrote: > It's on snow leopard, perl versi

bool test return issues

2013-01-04 Thread Elim Qiu
It's on snow leopard, perl version 5.10.0 print 3 > 1, "\n"; prints 1 and ignored "\n" print 3 == 3, "\n"; prints 1 and "\n" There're some in consistency here. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn