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"
An
Massimiliano Cialdi wrote:
I need to pass a file descriptor to a function.
If this function is defined in package it doesn't work!
I attach a little example.
Why it doesn't works, and how can I make it works?
thanks
use strict;
use warnings;
provides a clue:
Bareword "FD" not allowed while "strict
I need to pass a file descriptor to a function.
If this function is defined in package it doesn't work!
I attach a little example.
Why it doesn't works, and how can I make it works?
thanks
--
Massimiliano Cialdi
[EMAIL PROTECTED]
[EMAIL PROTECTED]
main.pl
Description: Binary data
mypack.pl