Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!ucbvax!agate!usenet From: raymond@math.berkeley.edu (Raymond Chen) Newsgroups: comp.lang.perl Subject: print (0?1:2),"foo\n"; Message-ID: <1989Dec19.062451.6353@agate.berkeley.edu> Date: 19 Dec 89 06:24:51 GMT Sender: usenet@agate.berkeley.edu (USENET Administrator;;;;ZU44) Reply-To: raymond@math.berkeley.edu (Raymond Chen) Organization: U.C. Berkeley Lines: 12 This arose when moving a script from perl2.0 to perl3.0. % perl2 -e 'print (0?1:2),"foo\n";' <- 2.0.1.8 Patchlevel 15 2foo % perl -e 'print (0?1:2),"foo\n";' 2% perl -v $Header: perly.c,v 3.0.1.2 89/11/17 15:34:42 lwall Locked $ Patch level: 6 If this is an intentional feature, I apologize. -- raymond@math.berkeley.edu mathematician by training, hacker by choice