bk_2 has asked for the wisdom of the Perl Monks concerning the following question:
One of the users I support gets an error when he runs a script with the first line "use Tk;". None of the others suffers the same problem. The error is:
e:/Rational/Common/lib/perl5/site_perl/5.8.6/MSWin32-x86-multi-thread/ +auto/Tk/getEncoding.al did not return a true value at e:/Rational/Com +mon/lib/perl5/5.8.6/MSWin32-x86-multi-thread/DynaLoader.pm line 253 Compilation failed in require at S:\setCCVIEW.pl line 1. BEGIN failed--compilation aborted at S:\setCCVIEW.pl line 1.
getEncoding.al has a last (non-comment) line of 1; so it always returns a true value to a use or require. Although I can't see the dependency chain from use Tk; to getEncoding.al, I don't see how getEncoding.al can return anything but 1 in this compilation stage.
Can anyone spot the problem?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: use Tk; fails
by Anonymous Monk on Dec 09, 2011 at 04:47 UTC | |
|
Re: use Tk; fails
by sumeetgrover (Monk) on Dec 09, 2011 at 08:00 UTC | |
by Anonymous Monk on Dec 09, 2011 at 08:58 UTC | |
by sumeetgrover (Monk) on Dec 09, 2011 at 09:19 UTC |