http://qs321.pair.com?node_id=160634


in reply to Re: Re: Griping about Typing
in thread Griping about Typing

Okay, can anyone explain how that works? It actually parses, though the class is completely ignored, provided it is defined somewhere. Here's a quick example:
#!/usr/bin/perl -w use strict; use CGI; use LWP; my CGI $cgi = new CGI(); # Works my XYZ $cgi = new CGI(); # "No such class XYZ ..." my LWP $cgi = new CGI(); # Works, strangely enough
Nothing in the docs about that, at least under my.