Jon Ericson writes:
> First repeat 10 times - "It's not a replacement, it's a shortcut."
Gotta say that I think it's
(a) a nasty punctuation mess (don't we have *enough* of those already?)
(b) unnecessary (I don't get grumpy at typing `print')
(c) opening up more problems than it's solving
G
sub p{
print "Debug: @_\n";
@_;
};
Solved my problem :)
Nathan Wiger wrote:
>
> I think [a print() that returns the value of what you
> printed ] is an excellent idea independent of others and should
> probably be RFC'ed separately. Since it d
"David L. Nicol" wrote:
>
> I like very much a print() that returns the value of what you
> printed rather than success. I am always needing to define
> littly intermediate temporaries so I can insert debugging code
> inside huge, tortuous expressions.
I think this is an excellent idea independ
I like very much a print() that returns the value of what you
printed rather than success. I am always needing to define
littly intermediate temporaries so I can insert debugging code
inside huge, tortuous expressions.
I don't know if C(>"print me"<) is it though.
Did you take a look at RFC 6
Jonathan Scott Duff wrote:
> On Thu, Aug 17, 2000 at 03:30:09PM -0700, Jon Ericson wrote:
> > Nathan Wiger wrote:
> > >3. Can you support here documents with this syntax?
> >
> > I haven't thought about this yet, but you can always use print.
>
> Should be the same:
>
> ><<'FOO'
>
On Thu, Aug 17, 2000 at 03:30:09PM -0700, Jon Ericson wrote:
> Nathan Wiger wrote:
> >3. Can you support here documents with this syntax?
>
> I haven't thought about this yet, but you can always use print.
Should be the same:
><<'FOO'
blah
blah
FOO<
> >
Nathan Wiger wrote:
>
> > >"Print this line.\n"<;
>
> Some questions:
>
>1. How do you specify alternate filehandles to output to?
> select() doesn't count for the purposes of this question.
It's a shortcut, not a replacement. Rumors of select's death are
greatly exaggerated.
>
Jon Ericson wrote:
>
> I think this is a little premature. These are Requests For Comments not
> Suggestions To Larry yet. So far, you have been to only person to offer
> constructive criticism on this RFC. I think that it is a very small win
> at the moment, but this is not the RFC's final fo
Nathan Wiger wrote:
> We should consider if this *adds value* to Perl 6. If not, we should
> start trimming down some RFC's and retracting them. If this RFC presents
> a significant win, we should keep it. If not (I personally don't see
> one), we should retract it.
>
> I'm not claiming to be aut
> >"Print this line.\n"<;
Some questions:
1. How do you specify alternate filehandles to output to?
select() doesn't count for the purposes of this question.
2. How do you support the list form of print, namely:
print "Hello there ", $r->fullname, "!\n";
3. Can you
This and other RFCs are available on the web at
http://dev.perl.org/rfc/
=head1 TITLE
Perl should have a print operator
=head1 VERSION
Maintainer: Jon Ericson <[EMAIL PROTECTED]>
Date: 5 August 2000
Last-Modified: 17 August 2000
Version: 2
Mailing List: [EMAIL PROTECTED]
Number:
11 matches
Mail list logo