Reviving Net::Pcap

Tags:

... in which I look at how existing patches floating on the internet can be integrated into Net::Pcap to make it compile again.

Net::Pcap is dear to me, as I have a module implementing an HTTP sniffer using its network capture. So I like it when the module compiles without too much manual work.

Analysis

Continue reading Reviving Net::Pcap...

Patching X11::GUITest

Tags:

The Problem

I'm automating my X11 desktop and watch for windows with certain titles. But sometimes X11::GUITest doesn't find a given window anymore and then xlib takes the complete Perl process with it because X11::GUITest doesn't install the appropriate error handler for missing windows or windows without window decoration.

Error message:

X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  15 (X_QueryTree)
  Resource id in failed request:  0x0
  Serial number of failed request:  22767
  Current serial number in output stream:  22767

Continue reading Patching X11::GUITest...