in reply to XML::Simple "Bless" error

The following code can reproduce the error you saw:

package foo; sub new { return(bless({}, shift)); } foo->new()->new(); #extra new!

Peter (Guo) Pei