Re: RFC: println()
[email protected] (Jon Ericson) Mon, 07 Aug 2000 18:50:17 -0700
| Newsgroups | perl.perl6.language.io,perl.perl6.language |
|---|---|
| Message-ID | <[email protected]> |
[Reply-To set to [email protected]] Ed Mills wrote: > > 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. You can currently get this behaviour with print if you set $\ = "\n". I expect perl 6 to look more like perl 5 than Pascal. Jon -- Knowledge is that which remains when what is learned is forgotten. - Mr. King