[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Problems with Butler.XFCN & Perl 5.1.9.r4



Howdy!

On April 11 I posted:
>>  I have been using Peter Chen's Butler.pm with MacPERL version 5.0.7r1m
>>with great success.  This module interfaces with an XFCN, Butler.XFCN,
>>provided by Everywhere, the publisher of the Butler database engine.  I
>>just upgraded to MacPERL version 5.1.9r4, and now get the message:
>>
>>"# Cannot open XFCN file, Butler.XFCN."

Chris Nandor replied:

>Hm.  I have noticed that LoadExternals does not return false on failure and
>true on succeed.  Rather, it is a fatal error if it fails, and returns
>nothing on succeed; so checking the return value grants you nothing.

Chris's help allowed me to solve the problem.  The difference between
versions 5.07r1m and 5.1.9r4 can be seen in their behavior on the following
code:

$a = undef;
$c = ($b) = $a;

In MacPERL 5.07r1m, $c is undefined.
In MacPERL 5.1.9r4, $c is 1.

Could anybody comment on which of these behaviors is correct?

Which behavior should I expect in the future?

THANKS!

-David-


David Steffen, Ph.D.
President, Biomedical Computing, Inc. <http://www.biomedcomp.com/>
Phone: (713) 610-9770 FAX: (713) 610-9769 E-mail: steffen@biomedcomp.com



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch