in reply to Re: Inotify2 + AnyEvent
in thread Inotify2 + AnyEvent
I'd use \&processTrap. The sub { procesTrap() } should also work, but I don't recommend using that with Tk because I find that it can leak memory (and I don't know if Inotify2 avoids that problem). The other two things you suggested don't pass in a reference to code to be called later; they just call the code right then and then pass in whatever that code returns.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Inotify2 + AnyEvent (now ne later)
by dlal66 (Acolyte) on Oct 04, 2011 at 19:16 UTC |