Skip Menu |

This queue is for tickets about the CGI-WML CPAN distribution.

Report information
The Basics
Id: 3669
Status: new
Priority: 0/
Queue: CGI-WML

People
Owner: Nobody in particular
Requestors: thomas.hoppe [...] berlin.de
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: wml_to_wmlc will not work
Hi Andy, I just detected another problem. Specification of the machine is the same as yesterday. I tried to use wml_to_wmlc, but received the following Error: Routine disabled at installation. at ./GCDesc.pl line 248 Definitely, I have XML::Parser (XML-Parser-2.31 ) installed. I deinstalled CGI::WML, made a 'make realclean' and reinstalled it again. The following small test succeeds (prints 1) $x = eval("use XML::Parser;1"); print $x; Anyway 'perl Makefile.PL' does not complain and in the WML::pm $USEXMLPARSER is still set to 0 !. As far as I remember (it's quite a while ago) I answered 'yes' to remove the dependency. Now I am inspecting remdep and it seems that you first copy WML.PM to WML.TMP (substituting the USEXMLPARSER) and afterwards you copy WML.TMP back to WML.PM. So if one answers yes the first time and changes his mind later, he will never get rid of this dammed 0. Am I right ? Another question concerns the use of wml_to_wmlc. First parameter should be a buffer. If you use the other WML methods they seem to write directly to STDOUT. How can I apply the wml_to_wmlc then ? Is there some internal var in CGI::WML which I can ask ? Or do I have to redirect the output stream to my own var ? The documentation should say something about it.