XP is just a number | |
PerlMonks |
Undiagnosable Problemby dhannotte (Acolyte) |
on Jan 14, 2017 at 15:37 UTC ( [id://1179566]=perlquestion: print w/replies, xml ) | Need Help?? |
dhannotte has asked for the wisdom of the Perl Monks concerning the following question: Last week my Perl interpreter suddenly started issuing a bizarre cascade of warnings every time I tried to run my 'sitegen.pl' script. These warnings claimed that every variable exported from my 'Plx.pm' library had already been defined. It then aborted the interpretation of 'sitegen.pl' entirely at the first invocation of one of these "multiply defined" functions. My 'sitegen.pl' script begins with the following 4 "use" statements:
'Plx.pm' exports 23 functions and begins:
'PlxHml.pm' exports 1 function and begins:
'PlxLang.pm' exports 3 functions and begins:
Each of the exported functions is unique. This structure has worked for years without error. My Perl site lib contains the following files:
The command I use to interpret sitegen.pl, and the first few and last few of the spurious errors, are:
Line 280 of Plx.pm is: sub TRUE {1}Line 13 of PlxHml.pm is: use PLX;I suspect that there's a simple explanation for all this, but even after a decade of using Perl, I am unable to imagine what it is. Do these spurious errors ring a bell with anyone? The version of Perl I use is described by the following output from the 'perl -v' and 'perl -V' commands:
I suppose I could reinstall ActivePerl, but they're no longer friendly to freeloaders like me and this might not succeed. I could try Strawberry Perl, but I don't have LINUX and managing it might be difficult. Before I descend into these circles of hell, I really hope that one of the wise elders here can offer me even a glimmer -- even just a smudgeon -- of insight. Thanks in advance.
Back to
Seekers of Perl Wisdom
|
|