Todd Wade <[EMAIL PROTECTED]> wrote:
> Todd Wade wrote:
>> See about upgrading CGI.pm. My start_html() outputs a XHTML transitional
>> dtd and a XML processing instruction that has the document encoding. My
>> docs validate fine. If its not your server, put CGI.pm in one of your
>> directories, and say:
>> 
>> use lib qw(/place/where/i/put/); #path to CGI.pm
>> 
>> BEFORE you say:
> 
> I think the above instruction is unnecessary because use lib; puts the @INC 
> munging in a BEGIN: block.

No, you were right the first time.

All 'use' statements are evaluated at compile-time, 
so 'use lib' has to come first.

>> use CGI.pm;

(And of course you meant 'use CGI;')

-- 
Steve

perldoc -qa.j | perl -lpe '($_)=m("(.*)")'

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to