CPAN::Forum
Test-Harness - Uninitialized value warning messages
| Posted on Mon Jun 25 23:54:16 2007 by the1 |
| Uninitialized value warning messages |
|
Hi,
I have been writing test scripts for some Perl module and running these tests using the test harness - make test. Everything works fine when I am using linux but when I use Mac or Windows the the entire test harness crashes with lot of "Uninitialized value at..." warning messages. The peculiar thing is the test script runs perfectly without any warnings if I run it exclusively (perl test.t). The warnings arise only when I use make test in Mac and nmake test in Windows.
I do know the reason why these warnings are caused. I want to know why is that these warnings are reported in Mac and Windows but not Linux and that too only with the test harness. Secondly, the variables for which the warnings are generated are also uninitialized in Linux but there is no warning.
The Perl versions i am having are:
Linux - v5.8.0 built for i686-linux;
Mac - v5.8.6 built for darwin-thread-multi-2level;
Windows - v5.8.0 built for MSWin32-x86-multi-thread;
Thank You.
Karthik
|
| Direct Responses: 5557 | Write a response |
(4)
]