As far as "Once some string is used as a file handle, you can no longer use it as a class name with the arrow operator" is concerned, this is known behaviour. tye summed the situation up succintly in the thread Filehandles vs. Packages: And the winner is..., (and also suggests a patch).
Apart from that, ++ for the detective work :)
In reply to Re: When CGI->new doesn't return a CGI object
by grinder
in thread When CGI->new doesn't return a CGI object
by Juerd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |