Don Hutton wrote:
I've just found the demo.pl file that comes with the OS X developer DVD and the wxWidgets environment that it implies seems to be something that I could really make us of. I have a ton of PERL functionality that I'd really like to port to OS X as more and more of my clients are on this platform.

I have no experience with the version delivered on the developer DVD. I compiled it myself through CPAN.
Quick runthrough from the top of my head:
- Install XTools (from DVD or Apple website)
- configure cpan
- install Alien::wxWidgets
- install wxPerl
However, when I try and run demo.pl or any of the wxWidges PERL scripts that I've found on-line all i get is a window that I then cannot focus on nor select in any way. There doesn't seem to be any documentation anywhere as how to *invoke* these widgets. There is plenty on how to write the code (and it all seems very straightforward) but nothing on the step after that: running it.

I'm trying to invoke it by opening a "terminal" window running zsh and typing

    perl demo.pl

or

    perl demo.pl &

which only results in the frustrating display of a bunch of goodies that I then cannot touch.
Yes, that is known behaviour
What's the missing piece? Does this have to be run though X11? Do I need to install another script interpreter besides "perl" and run that instead? "wxperl demo.pl"? Even the name of the technology that has to be used would be a big help.

When you install it yourself you get the wxperl interpreter which you already mentioned. The only drawback (apart from a few quirks) I never got solved is that after launching the GUI does not get the focus. You have to Cmd-Tab to it.

Cheers,
Huub

Reply via email to