Re: println() ... printbr()

2000-08-09 Thread Bart Lateur
On Wed, 9 Aug 2000 12:42:18 +0100, raptor wrote: >There shall be easier way in Perl6 for doing this ... I too get really tired >of these "\n" and 's at the end >ALSO ... > >print @array; I assume that's "printbr" >must work like this : >foreach (@array) { print "$_"}; sub printbr {

Re: println() ... printbr()

2000-08-09 Thread iain truskett
* Peter Bevan ([EMAIL PROTECTED]) [09 Aug 2000 20:08]: > To: "raptor" <[EMAIL PROTECTED]> [...] > > print @array; > > > > must work like this : > > foraeach (@array) { print "$_\n"}; > > foraeach (@array) { print "$_"}; > > > > not like at the moment : > > foraeach (@array) { print $_}; > This I

Re: println() ... printbr()

2000-08-09 Thread raptor
> I actually saw this in the newsgroups and thought it was a neat idea. What > about >println $textvar; > instead of >print "$textvar\n"; > Ever so much easier to read and write, prints the arg and appends \n. ]- I thought 'bout this too, but I think it is not general enought..Why ? we sh