Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Perl Version Issue

by shortyfw06 (Beadle)
on Jul 25, 2012 at 20:12 UTC ( [id://983731]=perlquestion: print w/replies, xml ) Need Help??

shortyfw06 has asked for the wisdom of the Perl Monks concerning the following question:

<I wrote a perl script that runs off of the perl5.8.5 version installed with the MSC software package. I tried running the same script with perl5.12.4 but I am getting the following errors.

Can't locate loadable object for module Tk::Event in @INC (@INC contai +ns: C:/Per l/site/lib C:/Perl/lib .) at C:/Perl/site/lib/Tk.pm line 13 Compilation failed in require at C:/Perl/site/lib/Tk.pm line 13. BEGIN failed--compilation aborted at C:/Perl/site/lib/Tk.pm line 13. Compilation failed in require at Fastenator_working.pl line 9. BEGIN failed--compilation aborted at Fastenator_working.pl line 9.

I copied the Tk.pm and additional folders and files into the 5.12.4 structure and then received the following error.

Can't locate loadable object for module Tk::Event in @INC (@INC contai +ns: C:/Per l/site/lib C:/Perl/lib .) at C:/Perl/site/lib/Tk.pm line 13 Compilation failed in require at C:/Perl/site/lib/Tk.pm line 13. BEGIN failed--compilation aborted at C:/Perl/site/lib/Tk.pm line 13. Compilation failed in require at Fastenator_working.pl line 9. BEGIN failed--compilation aborted at Fastenator_working.pl line 9.

Does anyone know if there's a compatibility issue with tk from one perl version to another? Thank you!

Replies are listed 'Best First'.
Re: Perl Version Issue
by moritz (Cardinal) on Jul 25, 2012 at 20:18 UTC
Re: Perl Version Issue
by syphilis (Archbishop) on Jul 26, 2012 at 04:02 UTC
    Does anyone know if there's a compatibility issue with tk from one perl version to another?

    There *is* a compatibility issue - not with the files that you copied across, but with the binary files (that you didn't copy across) located in site/lib/auto/Tk.
    As moritz said, you need to install Tk properly
    The following command should install Tk-804.029.0.0 for you:
    ppm install http://www.bribes.org/perl/ppm/Tk.ppd
    Cheers,
    Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://983731]
Approved by moritz
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-26 00:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found