On Thursday 15 July 2004 00:13, Massimiliano Cialdi wrote: > > I need to pass a file descriptor to a function. > If this function is defined in package it doesn't work!
That is a Frequently Asked Question and can be found in perlfaq5. perldoc -q "How do I pass filehandles between subroutines" And: perldoc -q "How can I use a filehandle indirectly" And also see the section "Typeglobs and Filehandles" in perldata. perldoc perldata John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>