Have you seen a Perl/Moose wrapper for Tk.
Or other suggestions how to cleanly build/code a GUI with Perl!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, there isn’t. There are three (that I’m aware of) sets of bindings from Perl to Tk: Perl/Tk, Tkx, and Tcl::Tk. All are object-oriented, but none of them use Moose.
Since these are modules that you will use, not modify, I don’t see the advantage of wrapping them with Moose. You can write perfectly clean code using them directly. The most important thing is to cleanly separate the UI code from the business logic (which could use Moose).