[Israel.pm] Fail to compile

Shmuel Fomberg semuelf at 012.net.il
Thu Oct 25 14:10:18 PDT 2007


Gabor Wrote:

>> (don't ask me why)
>
>refactor it, so you won't have such stupid functions.

Actually, it's not stupid code. It is a test for my code that should stand
firm (or at least die gracefully) even if someone fed it with not-compiling
code.

I already refactor the test to a more generic file:
-------
package Test;
use XXXXXXXXXXXX;
-------
Perl stops because of the XXXXXXXXX usage. (on any machine) so I can now fix
my code and make it another unit test.

But it still interesting. Why did Perl fail on his machine on compile time
and on my machine in run time? Any idea?

Shmuel.





More information about the Perl mailing list