Dan Sugalski <[EMAIL PROTECTED]> wrote:
> Rather simple stuff like your code calls into a C library via the NCI
> interface, and that C code does a setenv().
Ah. There is always one more possibility ;-)
> The cost of fetching isn't
> much, and the cache just isn't worth the hassle.
Ok. Then
At 1:31 PM +0200 7/19/03, Leopold Toetsch wrote:
Dan Sugalski <[EMAIL PROTECTED]> wrote:
At 8:17 PM +0200 7/13/03, Leopold Toetsch wrote:
I think one Env PMC ought to be enough. And that one may have e.g. an
Iterator ettached, which simplest is done by deriving it from an hash
like PMC.
Potentia
Dan Sugalski <[EMAIL PROTECTED]> wrote:
> At 8:17 PM +0200 7/13/03, Leopold Toetsch wrote:
>>
>>I think one Env PMC ought to be enough. And that one may have e.g. an
>>Iterator ettached, which simplest is done by deriving it from an hash
>>like PMC.
> Potentially, yes. We still ought not cache, si
At 8:17 PM +0200 7/13/03, Leopold Toetsch wrote:
Dan Sugalski <[EMAIL PROTECTED]> wrote:
At 10:09 AM +0200 7/11/03, Leopold Toetsch wrote:
> pmclass Env extends default {
What do you think of:
- Env extends PerlHash
Thought about it, but I couldn't think of a reason why.
%ENV{'something'),
Dan Sugalski <[EMAIL PROTECTED]> wrote:
> At 10:09 AM +0200 7/11/03, Leopold Toetsch wrote:
>> > pmclass Env extends default {
>>
>>What do you think of:
>>- Env extends PerlHash
> Thought about it, but I couldn't think of a reason why.
%ENV{'something'), keys(%ENV), iterating over %ENV ...
At 10:09 AM +0200 7/11/03, Leopold Toetsch wrote:
Dan Sugalski <[EMAIL PROTECTED]> wrote:
Log:
Accessing env variables is a nice thing
Yep. Good idea.
It was about time. :) And trivial, as too much of the pending stuff has been.
> pmclass Env extends default {
What do you think of:
- Env
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 ge