Is one of the directories listed as being in @INC the directory you put Tk.pm into? If not, then you need to tell Perl where to look, by putting
use lib your/path;
before you have
use Tk;
(where "your/path" is the directory where you put Tk.pm).
§ George Sherston | [reply] [d/l] [select] |
If you don't want to do so, you can also set the environment-variable PERL5LIB to the Path where you installed Tk...
Best regards,
perl -e "print a|r,p|d=>b|p=>chr 3**2 .7=>t and t" | [reply] [d/l] |
oops!
I finally realized that I downloaded
the wrong file!
I needed to download Tk800.023.
I hope that will solve my problem.
Thanks to everyone the responded.
--
Its like a dog that can sing and dance.
It's remarkable because it can do it.
Not that it can do it well. | [reply] |
Just an update,
I downloaded Tk800.023 from CPAN.
Followed the instructions in the README.cygwin file.
And I had compiler errors
After hacking the Makefile and moving .h
files all over the place I was able to compile.
But ... you guessed it ... I got linker errors.
I went to the cygwin archieve site and posted my woes.
The next day I was emailed the solution to my problems
I needed to download a patch from Cygwin for this
particular problem.
Now I am a Perl/Tk manic!
--
Its like a dog that can sing and dance.
It's remarkable because it can do it.
Not that it can do it well. | [reply] |