Re: Possible error in Event::Watcher::configure?
[email protected] ((Jochen Stenzel))
| Newsgroups | perl.loop |
|---|---|
| Message-ID | <[email protected]> |
Hello, Jeff,
>I was trying to reset the 'data' attribute for an 'idle' event.
>Specifically, the event got created without the 'data => $anything'
>attribute, and I'm trying to add it later. [...]
>Here's my code:
>[...]
>$event->configure( data => 'foo' );
please use data() to modify the data attribute:
$event->data('foo');
This should work.
Greetings
Jochen