Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!wuarchive!sdd.hp.com!hplabs!hpcc05!hpdmd48!rodger From: rodger@hpdmd48.boi.hp.com (Rodger Anderson) Newsgroups: comp.lang.perl Subject: Re: Newlines in prints Message-ID: <18510002@hpdmd48.boi.hp.com> Date: 21 Feb 91 19:20:02 GMT References: <1991Feb20.000312.5870@uvaarpa.Virginia.EDU> Organization: Hewlett Packard - Boise, ID Lines: 16 >/ hpdmd48:comp.lang.perl / worley@compass.com (Dale Worley) / 5:03 pm Feb 19, 1991 / >I'd like a simpler way to end a print line with a newline than >appending > , "\n" >to the print. Maybe I completely misunderstood your question, but it seems you could do this near the top of your script; $\ = "\n"; Then, all your print statements will output a "\n" at the end. -- Rodger Anderson (rodger@hpdmmef.boi.hp.com) or(rodger%hpdmmef@relay.hp.com)