Mmmm.... thanks for the reply, but here's the issue: @MyArray already exists, and I can't very well modify $MyScalar to be a hard reference to @MyArray. $MyScalar gets its values assigned from CGI. If $MyScalar holds a string that corresponds to an existing array @MyArray I want to be able to access it.
Oh, yeah, and I know about taint mode and all that... getting stuff from CGI and dereferencing it like that is dangerous... but I'd bungee jump too if I get the chance, and it's not my server anyway :)