Re: Event->io does not accept GLOB refs

[email protected] (Graham Barr)
Newsgroups perl.loop
Message-ID <[email protected]>
On Wed, Aug 23, 2000 at 11:08:26AM +0200, Marc Lehmann wrote:
> As I read the documentation, Event->io should accept a GLOB
> reference as argument, but I cannot get this to work (it only works
> with some glob references, e.g. ones created by IO::Handle):
> 
>    use Event;
> 
>    my $fh = do { local *GLOB };

$fh does not hold a GLOB reference, it is holding a GLOB. \$fh
will give you a reference to the GLOB.

Graham.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.