[Israel.pm] Fail to compile

Shmuel Fomberg semuelf at 012.net.il
Thu Oct 25 10:05:28 PDT 2007


Hello There.

I have a module that looks like that:
------
package Service;

sub someFunc {
   my $err = 5/0;
   print "no good";
}
-----

(don't ask me why)
anyway, he reports that Perl fails to load the module. I mean, he get
exception when he does "use Service".
On my machine, (WindowsXP) it does not happenes. Perl only dies when I
actually call the function.
He's working on a Linux machine.

Any idea why does it happen on his machine and not on mine?

Thanks,
Shmuel.





More information about the Perl mailing list