in reply to Re^2: Maintaining context of the caller
in thread Maintaining context of the caller

Yep you probably are :-) That is the perldiag entry for the error message that the OP reported. It is not permitted to assign to a conditional operator where the the second and third arguments are of different type, as the OP has here.

/J\

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.