Think about Loose Coupling | |
PerlMonks |
Accessing perl/Tkby hsfrey (Beadle) |
on Nov 26, 2011 at 23:55 UTC ( [id://940226]=perlquestion: print w/replies, xml ) | Need Help?? |
hsfrey has asked for the wisdom of the Perl Monks concerning the following question:
I downloaded perl/Tk and got a folder named Tk-804.028
I put it in both my ActivePerl and Strawberry perl lib folders.
When I try to run the hello.pl script it fails because it "can't find Tkx.pm" in @INC, which includes the strawberry lib folder. And indeed, that file isn't present in the downloaded folder! But there IS a Tk.pm there. How come the download is incompatible with itself, and what can I do about it? And, does this work only with the Strawberry perl, since that address seems built-in. ActivePerl comes with a Tkx folder, but that is incompatible with Tk.
Back to
Seekers of Perl Wisdom
|
|