Hi.

The man page says about handlers:

       Events

       Handlers for the following events can be registered:

       [..]

       default
            This event is triggered for events that do not have a
            specific handler.  You can set up a handler for this
            event to catch stuff you did not want to catch
            explicitly.

so I didn't assign any handler to the comment event, thinking default
would be called:

  $p->handler(default => 'text', 'self, text');

This doesn't do what I was expecting whereas:

  $p->handler(comment => 'text', 'self, text');
  $p->handler(default => 'text', 'self, text');
    
this does (with version 3.08 and 3.10).

Is it me not reading the documentation right (in that case, I think that
it is unclear) or is it a bug?

Thanks,

Hugo

-- 
Hugo Haas, Webmaster, Systems Team - W3C/MIT
mailto:[EMAIL PROTECTED] - tel:+1-617-452-2092

Reply via email to