On Sat, 16 Sep 2000 19:26:38 -0700, Nathan Wiger wrote:
My point was more should that be
'Class'-name
or
Class()-name
There now is another RFC about this: RFC 244. How odd, v1 dates from the
same day as your post. But I think Tom Christiansen has brought this up
before.
The idea
${$pkg.'::'.$var} = $val;
${"$pkg\::$var} = $val;
Still ugly, but not quite as bad as what you came up with.
Thanks - once I saw the first one my brain went "Oh, yeah"
Ooop, didn't even notice and didn't see the discussion. Let me see if
I missed anything... I didn't
On Sat, Sep 16, 2000 at 02:57:01PM -0700, Nathan Wiger wrote:
Ooop, didn't even notice and didn't see the discussion. Let me see if
I missed anything... I didn't discuss class methods as opposed to
object methods. Will ponder.
It's really dicey. I think it's probably bad, because
Michael G Schwern wrote:
print "Your name is Class-name";
Whether Class is 'Class' or Class(). The phrase "avoid at all costs"
comes to mind. ;-)
Hmmm... we could require that the trailing parens be there:
print "Your name is Class-name()";
Right, we could do something
On Sat, Sep 16, 2000 at 07:26:38PM -0700, Nathan Wiger wrote:
My point was more should that be
'Class'-name
or
Class()-name
I don't get it, lemme start from the beginning:
print "Basset hounds got long Basset::Hounds-thang().";
I'd like that to work out as:
print
This and other RFCs are available on the web at
http://dev.perl.org/rfc/
=head1 TITLE
Fix C$pkg::$var precedence issues with parsing of C::
=head1 VERSION
Maintainer: Nathan Wiger [EMAIL PROTECTED]
Date: 14 Aug 2000
Last Modified: 15 Sep 2000
Mailing List: [EMAIL PROTECTED]