Robin Houston wrote:

<snip/>

>In earlier perls, you'll need to make a tied filehandle:

Thanks Robin. The TrueHandle package is essentially what I had implemented, 
but it's the internal workings of require that stop the tie from being 
honoured. I presume that the require burrows down into the internals and 
isn't aware that it's a tie'd handle. As far as I can tell the code within 
the require call is unaware that this handle is an object. If you place an 
AUTOLOAD method in TrueHandle instead of the READ and READLINE methods, only 
DESTROY is called.


Ian

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Reply via email to