[Pdx-pm] Some filehandle help needed

Kyle Dawkins kyle at cepaso.com
Tue Aug 7 11:10:47 PDT 2007


Thanks for the tip.

Cross-platform is not really relevant to me; it only needs to work in  
OSX.

I am more curious as to why I can't create the filehandle and return  
it, but if I do it inline, it works fine... anyone?

Kyle


On Aug 7, 2007, at 10:30 AM, Austin Schutz wrote:

> On Tue, Aug 07, 2007 at 10:26:43AM -0700, Austin Schutz wrote:
>> On Tue, Aug 07, 2007 at 10:20:46AM -0700, Kyle Dawkins wrote:
>>> Hi all
>>>
>>> It's been a long time since I've had to diddle with filehandles with
>>> any degree of complexity... I work exclusively in mod_perl land and
>>> never need to deal with them.  Something has come up where I need to
>>> connect to a /dev/tty from mod_perl.
>>>
>>
>>
>> 	http://search.cpan.org/search?query=tty&mode=all
>>
>>
>
> 	Sorry, didn't mean to send that without comments. You probably be
> best served by using a shim library to access it, such as IO::Tty. One
> of the nice features is that it is cross platform, which is  
> surprisingly
> difficult without it.
>
>  	Austin



More information about the Pdx-pm-list mailing list