Re: Event->io does not accept GLOB refs

[email protected] (Mike Guy)
Newsgroups perl.loop
Message-ID <[email protected]>
Marc Lehmann <[email protected]> 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):

In your example, you have a glob, not a glob reference.   They're
different things.

Though it would be good practice if Event accepted globs as well as
glob refs, in the same way as most other IO stuff does.


Mike Guy
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.