I'm getting different results from the same expression on two different machines.

Please let me know if this is the wrong forum.  

Thanks,

- Ben Eisel

Systems
-------
SunOS qmprod 5.6 Generic_105181-23 sun4u sparc SUNW,Ultra-4
SunOS prd-s01 5.9 Generic_112233-07 sun4u sparc SUNW,Sun-Fire-880

Perl Instances
--------------
prd-s01: perl 5.8.0 and perl 5.004_05
windowsmachine: perl v5.6.1
qmprod: perl 5.004_01 

Description
-----------
There's a peculiar difference between the perl's on qmprod and prd-s01.
The program:
print join('-', 'a', ('x' =~ /y/), 'b'), "\n";
produces different output on the two machines.
It seems the qmprod perl thinks
'a', ('x' =~ /y/), 'b'
is equivalent to
'a', '', 'b'
and the prd-s01 perl(s) to
'a', 'b'
or, maybe,
'a',,'b'
OutboundAppend=

This message and any attachment is confidential and may be privileged or otherwise 
protected from disclosure.  If you have received it by mistake please let us know by 
reply and then delete it from your system; you should not copy the message or disclose 
its contents to anyone.

Reply via email to