[Israel.pm] Fail to compile

Issac Goldstand margol at beamartyr.net
Thu Oct 25 10:11:07 PDT 2007


If you plan on require-ing that file, it needs to return 1; at the
end...  Not sure if that's what you're running into or not.

  Yitzchak

Shmuel Fomberg wrote:
> 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.
>
>
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://perl.org.il/mailman/listinfo/perl
>   




More information about the Perl mailing list