[comp.lang.perl] Bug in returning assocciative arrays?

bjorn@mips.COM (Bjorn Satdeva - /sys/admin Inc) (01/12/90)

It seems to me like I have run into a bug in Perl 3.0 patch 
level 8.

If I have read the man page correctly, a subroutine 
should be able to return a associative array.  On this machine 
(a MIPS M120 runing RISK OS 4.01), a subroutine will
return the associative array correctly if it have exact one
element.  If it is bigger, the value received by the calling
subroutine is empty.  

The code work, if I'm returning the value using a global
associative array, and let the calling subroutine assing the 
value of the global array to the one which should have received
the return value.

This problem and the work-around was encountered in a recursive
subroutine.

Any comments?

Bjorn Satdeva