in reply to Re: Re: SendEvent in X11::Protocol
in thread SendEvent in X11::Protocol

Looks sane to me...

Check the return values of new, pack_event, and SendEvent. Maybe one of them is failing?
--
Mike