Re: bool test return issues

2013-01-07 Thread David Precious
On Sat, 5 Jan 2013 09:01:26 -0700 Elim Qiu wrote: > perl shell is a good idear (I'm using ipython a lot. That's why I like > to try perl shell), but it really has problems. See attached > screenshot. Ah. Yeah, that's a different animal to Perl. This list can help you with problems with Perl, b

Re: bool test return issues

2013-01-07 Thread Brandon McCaig
Hello: On Sat, Jan 05, 2013 at 09:01:26AM -0700, Elim Qiu wrote: > perl shell is a good idear (I'm using ipython a lot. That's why I like > to try perl shell), but it really has problems. See attached > screenshot. I think you forgot to mention that you were using this psh. :) That or I missed it

Re: bool test return issues

2013-01-05 Thread Elim Qiu
perl shell is a good idear (I'm using ipython a lot. That's why I like to try perl shell), but it really has problems. See attached screenshot. On Sat, Jan 5, 2013 at 7:16 AM, David Precious wrote: > On Fri, 4 Jan 2013 15:43:41 -0700 > Elim Qiu wrote: > >> It's on snow leopard, perl version 5.10

Re: bool test return issues

2013-01-05 Thread David Precious
On Fri, 4 Jan 2013 15:43:41 -0700 Elim Qiu wrote: > It's on snow leopard, perl version 5.10.0 > > > > print 3 > 1, "\n"; > > prints 1 and ignored "\n" Includes the newline for me. If I had to hazard a guess, I'd say perhaps when you ran it you accidentally mistyped "." instead of "," (so yo

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