| | |
need help with GUI on Perl running on Windows
Please support our Perl advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jan 2008
Posts: 18
Reputation:
Solved Threads: 0
1) is it possible that i could create GUI application under Perl (*.pl) files?
2) what are the things that i need to consider and do?
3) i tried copying a perl program from a certain website and when i tried running it on command prompt for Windows, it says an error about requiring tk.pm in perl library..
what is that and where can i have that file?
i wish you could give me a simple program on perl so that i could pattern my future programs with it.. i want my program to have buttons, windows, colored features, etc..
is it possible even i'm developing it on Windows operating system?
what i'm using is the ActivePerl 5.10.0 Build 1002... any tips? thanks
2) what are the things that i need to consider and do?
3) i tried copying a perl program from a certain website and when i tried running it on command prompt for Windows, it says an error about requiring tk.pm in perl library..
what is that and where can i have that file?
i wish you could give me a simple program on perl so that i could pattern my future programs with it.. i want my program to have buttons, windows, colored features, etc..
is it possible even i'm developing it on Windows operating system?
what i'm using is the ActivePerl 5.10.0 Build 1002... any tips? thanks
You need perl and the Tk modules installed. I would be surprised if they are not included with the distribution of perl you are using.
Open the activestate folder and open the documentation folder (or however it is structured with Active perl 5.10). You should see a list of all the Tk modules that came with your distribution.
Tk is a sort of niche when it comes to coding perl programs, you don't find a lot of perl programmers that are familiar with Tk applications.
I suggest you post on the perl forum at www.tek-tips.com as I know there is one member there that has a lot of Tk experience.
Open the activestate folder and open the documentation folder (or however it is structured with Active perl 5.10). You should see a list of all the Tk modules that came with your distribution.
Tk is a sort of niche when it comes to coding perl programs, you don't find a lot of perl programmers that are familiar with Tk applications.
I suggest you post on the perl forum at www.tek-tips.com as I know there is one member there that has a lot of Tk experience.
•
•
•
•
1) is it possible that i could create GUI application under Perl (*.pl) files?
2) what are the things that i need to consider and do?
3) i tried copying a perl program from a certain website and when i tried running it on command prompt for Windows, it says an error about requiring tk.pm in perl library..
what is that and where can i have that file?
The error says, you have no module called tk.pm. For this you can install Tk tool kit for Perl and you can find it on CPAN.
•
•
•
•
i wish you could give me a simple program on perl so that i could pattern my future programs with it.. i want my program to have buttons, windows, colored features, etc..
is it possible even i'm developing it on Windows operating system?
what i'm using is the ActivePerl 5.10.0 Build 1002... any tips? thanks
enjoy coding...,
katharnakh.
It looks like Activeperl 5.10 comes with Tkx instead of Tk. Activeperl 5.8 comes with Tk and Tkx (I think).
http://aspn.activestate.com/ASPN/doc...0/lib/Tkx.html
So install perl 5.8 if you want to use Tk instead of Tkx.
http://aspn.activestate.com/ASPN/doc...0/lib/Tkx.html
So install perl 5.8 if you want to use Tk instead of Tkx.
•
•
Join Date: Jan 2008
Posts: 18
Reputation:
Solved Threads: 0
Thank you, KevinADC.. you were right.. tkx is used rather than tk.pm... and i have tried a sample program from this link,
http://search.cpan.org/~gaas/Tkx-1.04/Tkx/Tutorial.pod
it worked... thanks everyone for the reply...
http://search.cpan.org/~gaas/Tkx-1.04/Tkx/Tutorial.pod
it worked... thanks everyone for the reply...
![]() |
Similar Threads
- Programming FAQ - Updated 1/March/2005 (Computer Science)
- Execute unix command from perl running on windows (Perl)
- Overview of UNIX (Getting Started and Choosing a Distro)
- [JOB] Software Engineer - C++ (Based in Singapore) (Software Development Job Offers)
- perl gui (Perl)
Other Threads in the Perl Forum
- Previous Thread: Avoid cmd popup
- Next Thread: Can't read POST from Perl, PLEASE HELP
| Thread Tools | Search this Thread |
Tag cloud for Perl





