Front page | perl.fwp |
Postings from March 2002
Re: rethinking printf
Thread Previous
|
Thread Next
From:
Ariel Scolnicov
Date:
March 7, 2002 00:17
Subject:
Re: rethinking printf
Message ID:
yzq3czcaj2t.fsf@compugen.co.il
Paul Makepeace <Paul.Makepeace@realprogrammers.com> writes:
> On Wed, Mar 06, 2002 at 09:45:18AM -0800, Rich Morin wrote:
> > He
> > suggested, when asked, that folks could put in newlines as follows:
> >
> > 'yada yada yada \qq{\n}'
>
> I meant to add this in last time: There is also the option of having an
> additional function that adds the newline in, e.g. WriteLine() v.
> Write() as seen in many other languages (Pascal et al, Java, etc). I've
> never really liked this but on the other hand, it seems the lesser of
> two evils.
printf("%s\n %s\n%s\n", @haiku_line[0,1,2]);
--
Ariel Scolnicov |http://3w.compugen.co.il/~ariels
Compugen Ltd. |ariels@compugen.co.il
72 Pinhas Rosen St. |Tel: +972-3-7658117 "fast, good, and cheap;
Tel-Aviv 69512, ISRAEL |Fax: +972-3-7658555 pick any two!"
Thread Previous
|
Thread Next