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 {
* 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
- Original Message -
From: "Peter Bevan" <[EMAIL PROTECTED]>
To: "raptor" <[EMAIL PROTECTED]>
Sent: Wednesday, August 09, 2000 11:05 AM
Subject: Re: println() ... printbr()
>
> > > I actually saw this in the newsgroups and thought it was a ne
> 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