How do I install “Perl/Tk Debugger” on Windows 7?
Trying to install the "Perl/Tk Debugger" on Windows 7 -- and for the life of me I'm unable to figure out what I need to do to instal开发者_如何转开发l and run this application..
The requirements appear to be:
- Perl 5.004 or above
- Tk800.021 or above
I've got Perl 5.12.2 (from ActiveState) installed; confirmed by going to the Windows commandline and entering "perl -v".
What I have no idea about is the "Tk800.021" requirement; meaning if it's already present, and if not, what to do.
Error on "ppm inst Ptkdb"
C:\Users\User>ppm inst Ptkdb
ppm inst failed: Can't find any package that provides Ptkdb
C:\Users\User>ppm inst C:\Devel-ptkdb-1.221.tar.gz
ppm inst failed: Can't find any package that provides C:\Devel-ptkdb-1.221.tar.gz
Try running on command-line the ppm (perl package manager) supplied with ActiveState like this:
ppm inst Tk
ppm inst Devel-Ptkdb
First installs most current Tk (version 804.029 in my case), second the debugger itself. If both commands run successfully (on my machine they did), you should be able to run the debugger with:
perl -d:Ptkdb your_script.pl
精彩评论