I'm trying to invoke Windows 7's "choose directory" dialog box using Perl Tkx. This is what I'm using:
my $dirname = Tkx::tk___chooseDirectory();
However, this doesn't display any dialog box, but instead causes my program to hang without providing any error messages. Am I using the function incorrectly? How do I get the dialog box to display?
Thanks for your help.
UPDATE:
I won't paste in my full script as it's too long, but simply running the following causes perl to hang for me:
use warnings;
use strict;
use Tkx;
my $dirname = Tkx::tk___chooseDirectory();