Re: modules and pragmas - part II

2002-09-26 Thread Rick Myers
On Sep 24, 2002 at 23:14:02 +0200, [EMAIL PROTECTED] wrote: > > At the first request each instance prints out the no_xhtml-header, but > at the second call the no_xhtml-pragma is forgotten and the > xhtml-header is printed out. > > Is this a problem in the CGI-module or is there a deeper reason

Re: modules and pragmas - part II

2002-09-25 Thread pilsl
On Wed, Sep 25, 2002 at 12:29:12AM -0400, Perrin Harkins wrote: > > Are you setting $CGI::XHTML to 0 somewhere? > No I posted the whole script: #!/usr/bin/perl -w use CGI qw(standard -no_xhtml); my $q=new CGI; print $q->header,$q->start_html,"\n"; print $$,"\n";

Re: modules and pragmas - part II

2002-09-24 Thread Perrin Harkins
[EMAIL PROTECTED] wrote: > At the first request each instance prints out the no_xhtml-header, but > at the second call the no_xhtml-pragma is forgotten and the > xhtml-header is printed out. Are you setting $CGI::XHTML to 0 somewhere? > btw and OT : in the previous thread there have been rumours

modules and pragmas - part II

2002-09-24 Thread pilsl
Thnx for all the people contributing in the previous thread which gave me deeper insight and a very easy solution ($CGI::XHTML = 0;) But now I played around and found out that if loading a modules with pragmas this pragma only is valid for the first call and not valid for all further call. I wro