How would this take into account stuff like this: sysopen(HANDLE, "/etc/motd", O_RDWR|O_CREAT, 0644); The "O_RDWR|O_CREAT" part is what I'm talking about here. This is a constant w/o suffix. We'll either have to: 1. Change it to $O_RDWR|$O_CREAT or $O{RDWR}|$O{CREAT} Maybe for errors us $E{AGAIN} and so on? 2. Make special exceptions for "special" constants I'd *definitely* prefer #1, although we do run the risk of confusing some C folks. Not that that should stop us, but just something to think about. The %O and %E hashes might be kind of neat - you could check out all the supported options and errors just by walking a hash with a short C-esque name. Plus the top-level namespace is much cleaner. -Nate
- RFC 83 (v1) Make constants look like variables Perl6 RFC Librarian
- Re: RFC 83 (v1) Make constants look like variable... Larry Wall
- Re: RFC 83 (v1) Make constants look like vari... Mike Pastore
- Re: RFC 83 (v1) Make constants look like ... Simply Hao
- Re: RFC 83 (v1) Make constants look like ... Nathan Wiger
- Re: RFC 83 (v1) Make constants look l... James Mastros
- Re: RFC 83 (v1) Make constants look like ... Steve Simmons
- Re: RFC 83 (v1) Make constants look l... Andy Wardley
- Re: RFC 83 (v1) Make constants l... Mike Pastore
- Re: RFC 83 (v1) Make constan... Philip Newton
- Re: RFC 83 (v1) Make con... Mike Pastore
- Re: RFC 83 (v1) Make constants l... Michael Fowler
- Does Perl need true constants? (... Nathan Wiger
- Re: RFC 83 (v1) Make constants look l... Jeremy Howard
- Re: RFC 83 (v1) Make constants l... Dan Sugalski