Re: Possible error in Event::Watcher::configure?

[email protected] (Jeff Boes)
Newsgroups perl.loop
Organization Nexcerpt, Inc.
Message-ID <[email protected]>
On Mon, 16 Jul 2001 22:07:19 +0200
[email protected] (Jochen Stenzel) wrote:

> >$event->configure( data => 'foo' );
> 
> please use data() to modify the data attribute:
> 
>   $event->data('foo');
> 
> This should work.

Perhaps, but I still think that

  while (my ($k,$v)= splice @_, -2) { $o->$k($v)}

is a bug that should read

  while (@_ and my ($k,$v)= splice @_, -2) { $o->$k($v)}

at least, under perl 5.6.1.

-- 
Jeff Boes                                             vox 616.226.9550
Database Engineer                                     fax 616.349.9076
Nexcerpt, Inc.                                      [email protected]
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.