in reply to Re: Linux::Inotify usage.
in thread Linux::Inotify usage.

that prototype will get ignored

Actually, from what I've recently read in the Camel, I supposed that. But the other methods have a prototype too and I only wanted a dirty solution to test my little OO skills.

modifying Event.pm, which I presume is part of the Linux::Inotify distribution

Yes, it is. I was thinking in submitting the change but before that I wanted to ask here just in case I was overlooking something.

I tried using $_->{mask} before asking but I got a "256". That's why there is a $reverse{$self->{mask}} in my sub (copied and pasted from another one). That turns the "256" into the more intelligible "create".

--
David Serrano