At 06:21 PM 1/30/2002 -0500, Dan Sugalski wrote:
>A quick recap and elaboration for folks following along at home.
>
>On interpreter startup. P0 will hold an Array with ARGV in it if there is 
>one, or NULL if not.
>
>P1 will hold a Hash with %ENV in it if there is one, or NULL if not
>
>P2 (this is the new bit) will hold an Array of three elements 
>corresponding to stdin, stdout, and stderr. If NULL the default's used, 
>and if an entry is undef that file's not available.

Sounds good. This jogged my memory, I'm using interp->piodata->table[0-2]
for the standard handles, but thought about caching those directly into the 
interp
struct for cutting out 2 derefs for most common cases? I'll do the mod if 
you say
the word.

-Melvin

Reply via email to