Re: URGENT: How do I debug the ePerl code.

Shlomi Fish <[email protected]> Sun, 7 Nov 2004 11:13:21 +0200
Newsgroups gmane.comp.web.wml
Message-ID <[email protected]>
On Sunday 07 November 2004 10:20, Wolfgang Schnerring wrote:
> * Shlomi Fish <[email protected]>:
> > I have some wml code with lots of Perl code. When I added the -w flag, it
> > started reporting an error: [...]
> >
> > However /home/shlomi/tmp/wml.14370.tmp1.wml is gone after the invocation.
> > How do I find it?
>
> You can tell eperl to output its intermediate file by specifying -x,
> as in
>     $ wml --passoption=3,-x filename
>
> ,----------[ man eperl ]----------
>
> | -x  This sets debug mode where ePerl outputs the internally created Perl
> | script to the console (/dev/tty) before executing it. Only for debugging
> | problems with the inputfile conversion.
>
> `----------
>
> I'm not sure if that helps you...
>

It doesn't, but I was able to patch the wml front-end not to delete 
intermediate files in case it fails.

Regards,

	Shlomi Fish

> good luck,
> Wolfgang
>
> _____________________________________________________________________
> Website META Language (WML)                         http://thewml.org
> User Support Mailing List                        [email protected]
> Automated List Manager                            [email protected]

-- 

---------------------------------------------------------------------
Shlomi Fish      [email protected]
Homepage:        http://www.shlomifish.org/

Knuth is not God! It took him two days to build the Roman Empire.
_____________________________________________________________________
Website META Language (WML)                         http://thewml.org
User Support Mailing List                        [email protected]
Automated List Manager                            [email protected]