The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

#TITLE: Input
#REQUIRES: Gtk

  use Gtk;
  Gtk->init;
  my $mw = new Gtk::Window('toplevel');
  Gtk::Gdk->input_add(fileno(STDOUT), 'write', sub { } );
  $mw->show;
  Gtk->main;