Hi all,

I know this is a question that has been asked maybe a zillion times or more but still I want to take the risk asking it again.

What's the best environment to create GUI's in Perl?

Perl is maybe not the best language to create GUI's but since I am knowledgeable about wxWidgets, my first choice would be wxPerl. I know this is a bit biased and this question is very subjective (you hardly can't discuss about flavours and tastes, can you?) but my problem is that I can't install wxPerl on my Windows 10 PC where I installed Strawberry Perl. It fails when it wants to compile the Alien::wxWidgets module. This is what I get:

C:\Users\Geert>cpan -i Wx Loading internal logger. Log::Log4perl recommended for better logging CPAN: CPAN::SQLite loaded ok (v0.217) Database was generated on Sun, 05 Jul 2020 13:15:41 GMT Running install for module 'Wx' CPAN: Digest::SHA loaded ok (v6.02) CPAN: Compress::Zlib loaded ok (v2.093) Checksum for D:\WinApps\PROGRA~1\STRAWB~1\cpan\sources\authors\id\M\MD +\MDOOTSON\Wx-0.9932.tar.gz ok CPAN: Archive::Tar loaded ok (v2.36) CPAN: YAML::XS loaded ok (v0.81) CPAN: CPAN::Meta::Requirements loaded ok (v2.140) CPAN: Parse::CPAN::Meta loaded ok (v2.150010) CPAN: CPAN::Meta loaded ok (v2.150010) ---- Unsatisfied dependencies detected during ---- ---- MDOOTSON/Wx-0.9932.tar.gz ---- Alien::wxWidgets [build_requires] Running install for module 'Alien::wxWidgets' Checksum for D:\WinApps\PROGRA~1\STRAWB~1\cpan\sources\authors\id\M\MD +\MDOOTSON\Alien-wxWidgets-0.69.tar.gz ok CPAN: Module::CoreList loaded ok (v5.20200314) CPAN: Module::Build loaded ok (v0.4231) Configuring M/MD/MDOOTSON/Alien-wxWidgets-0.69.tar.gz with Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Alien-wxWidgets' version '0.69' MDOOTSON/Alien-wxWidgets-0.69.tar.gz D:\WinApps\Programming\StrawberryPerl\perl\bin\perl.exe Build.PL -- +OK Running Build for M/MD/MDOOTSON/Alien-wxWidgets-0.69.tar.gz Building Alien-wxWidgets process_begin: CreateProcess(NULL, D:/WinApps/Programming/StrawberryPe +rl/c/bin/ -c "echo gcc_mswdll/minimal_sample_rc.o >> gcc_mswdll/minim +al.exe.rsp.tmp", ...) failed. makefile.gcc:221: pipe: No such file or directory process_begin: CreateProcess(NULL, D:/WinApps/Programming/StrawberryPe +rl/c/bin/ -c "echo gcc_mswdll/minimal_minimal.o >> gcc_mswdll/minimal +.exe.rsp.tmp", ...) failed. makefile.gcc:221: pipe: No such file or directory Can't open(GLOB(0x2f31a90), D:\WinApps\Programming\wxWidgets\lib\gcc_d +ll\msw\build.cfg): No such file or directory at ./Build line 66. MDOOTSON/Alien-wxWidgets-0.69.tar.gz D:\WinApps\Programming\StrawberryPerl\perl\bin\perl.exe ./Build -- N +OT OK Stopping: 'install' failed for 'Alien::wxWidgets'.
An alternative would be Perl/Tk, but I have no experience with this. I've also seen Win32::GUI but again, no experience with this.

Next to the fact that I'm missing experience with those GUI "languages", I see those modules are quite old and I'm wondering if it's still useful to step into such "unsure" development environment.

Any suggestions?

Best rgds,
Geert

In reply to Best GUI for Perl? by geertvc

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.