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\
In reply to Re^3: Maintaining context of the caller
by gellyfish
in thread Maintaining context of the caller
by revdiablo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |