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
> [email protected]
> http://perl.org.il/mailman/listinfo/perl
>
_______________________________________________
Perl mailing list
[email protected]
http://perl.org.il/mailman/listinfo/perl