Nathan Wiger wrote: > $pw = getpwnam('nwiger'); > print "$pw"; # calls $pw->SCALAR, which prints 'nwiger' > die "Bad group" unless $pw->gid == 100; I'm ashamed that this feature would mess with my (bad?) habit of re-writing "$pw" to just $pw on the assumption that whoever wrote it didn't know what the hell he was doing. Would anybody else be caught like that? What if it were a per-variable modifier? Something like $"var"? I know that collides with special variables, but it seems a bit more obvious that stringify behavior is wanted. - Ken
- Re: Overloading && || Chaim Frenkel
- Re: Overloading && || David L. Nicol
- And A Parser In A Pared Tree ... Bryan C . Warnock
- Re: And A Parser In A Pared T... David L. Nicol
- Re: Overloading && || Damian Conway
- Re: Overloading && || Damian Conway
- Re: Overloading && || Dan Sugalski
- Re: Overloading && || Randal L. Schwartz
- Re: Overloading && || Nathan Torkington
- Re: RFC 49 (v1) Objects should have builtin string... Nathan Wiger
- Re: RFC 49 (v1) Objects should have builtin st... Ken Fox
- Re: RFC 49 (v1) Objects should have builti... Nathan Wiger
- Re: RFC 49 (v1) Objects should have bu... Michael Fowler
- Re: RFC 49 (v1) Objects should ha... Bart Lateur
- Re: RFC 49 (v1) Objects should have builtin string SCAL... Jeremy Howard