Dan Sugalski <[EMAIL PROTECTED]> wrote: > Log: > Accessing env variables is a nice thing
Yep. Good idea.
> pmclass Env extends default {
What do you think of:
- Env extends PerlHash
- interpreter has an empty env variable created at interpreter creation
- on first access to it, the hash gets populated, writing to the hash
does a setenv(3) too.
- delete_keyed does an unsetenv(3), if available of course.
- defined_keyed, exists_keyed delegate (after possibly) filling the hash
to SUPER().
leo
