in reply to Re^3: Reading only STDERR
in thread Reading only STDERR

Thank you very much, that's exactly what I needed. I hadn't realized that you were supposed to write the name of the filehandle in a string. I thought it didn't make much sense, but hey, does Perl make any sense at all? Thanks again!

Replies are listed 'Best First'.
Re^5: Reading only STDERR
by Roy Johnson (Monsignor) on Apr 06, 2005 at 14:11 UTC
    Filehandles have always been kludgy. They are just bareword strings that, in the right context, get looked up in the symbol table. Directory handles are the same way. This is probably the most unfortunate design feature in Perl.

    Caution: Contents may have been coded under pressure.