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
- Possible error in Event::Watcher::configure? Jeff Boes
- Re: Possible error in Event::Watcher::configure? Jochen Stenzel
- Re: Possible error in Event::Watcher::configure? Jeff Boes
- Re: Possible error in Event::Watcher::configur... Uri Guttman
- Re: Possible error in Event::Watcher::conf... Graham Barr
- Re: Possible error in Event::Watcher:... Uri Guttman
