Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

tk.pm 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 tk.pm, 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;

perl sysgen.pl

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

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

Windows XP, Perl v5.14.2

Comment on tk.pm w/Tk::DateEntry Error
Download Code
Re: tk.pm 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: tk.pm 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.
Re: tk.pm w/Tk::DateEntry Error
by kcott (Abbot) on May 23, 2012 at 07:09 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2015-07-03 21:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (56 votes), past polls