Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
PerlMonks w/Tk::DateEntry Error

by gibsonca (Beadle)
on May 22, 2012 at 19:09 UTC ( #971854=perlquestion: print w/replies, xml ) Need Help??
gibsonca has asked for the wisdom of the Perl Monks concerning the following question:

I'm working with an existing older perl script, and while I was able to install, I was not sure how to fix the following error:

#!/usr/local/bin/perl use strict; use warnings; use Tk; use Tk::ProgressBar; use Tk::DateEntry;


Can't locate Tk/ in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .) at line 10. BEGIN failed--compilation aborted at line 10.

I can comment out this with no ill effects, but on the other hand I was not sure my installation of was perfect.

Windows XP, Perl v5.14.2

Replies are listed 'Best First'.
Re: w/Tk::DateEntry Error
by toolic (Bishop) on May 22, 2012 at 19:22 UTC
    If you want to fix your error, you need to install Tk::DateEntry, which is not part of the Tk distribution. Not all Tk::* modules are part of the Tk distribution; some must be installed separately.
Re: w/Tk::DateEntry Error
by kcott (Chancellor) on May 23, 2012 at 07:09 UTC
Re: w/Tk::DateEntry Error
by jack123 (Acolyte) on May 23, 2012 at 02:58 UTC
    Please install Tk::DateEntry and use it in your script.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://971854]
Approved by toolic
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2018-07-19 23:48 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (421 votes). Check out past polls.