Perl GUI programming on Windows Perl GUI programming on Windows windows windows

Perl GUI programming on Windows


For real cross platform GUI programming I would suggest Prima or Tk. Neither look great, but they work.

Still, I think you might be better served (hehe) by using a web front-end than a true GUI these days; this is easy using a web-framework. I would suggest Mojolicious though other people do like Dancer. My primary reason for suggesting Mojo over Dancer is that Mojo comes with lots of functionality in one tiny package. Then again, this is the reason that others would recommend Dancer, so that's a toss.

A final consideration is that Mojo comes with WebSockets out of the box. This makes it rather easy for your webapp to feel more like a true application, talking back to the server and getting responses without reloading.

Edit: I now have a good example of a desktop application written with a Perl/Mojo backend and a web-frontent: Azawawi's Farabi. It is a text-editor, geared towards writing Perl. It's GUI is the browser, making it a simple cross-platform editor. I recommend it as a starting point for similar tasks.


Self promo for my perl module IUP :

  • it uses native widgets (= your app will have native look&feel)
  • it is also slightly cross-platform (Win32, GTK, Motif)


I have an experience with PerlTk and wxPerl.wxPerl is rather decent toolkit which I can recommend. There is also a GUI builder available wxGlade

The few applications I had in Tk taught me to hate that toolkit wholeheartedly:

  1. it looks awful
  2. disproportional amount of coding time was spent on solving variousbugs and finding workarounds for missing features