in reply to Re^4: Constant names come into conflict with Perl style?
in thread Constant names come into conflict with Perl style?
for instance, DEBUG just does not look like a potential lvalue, while $DEBUG does.
++. I've never looked at it that way, and I like it. Thanks.
That said, Perl6 seems to use the construct:
so we will have the issue come up again: $foo looks like an lvalue, but isn't. Further, I think we will be able to define sub's as rvalues, further confusing the issue. ;-)my $foo is readonly = 12;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Constant names come into conflict with Perl style?
by TimToady (Parson) on Feb 08, 2007 at 03:55 UTC |