[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: wml incorrectly munging \" in perl



On Thu, 1 Jun 2000, Brian Hatch wrote:

> PROBLEM DESCRIPTION:
> 
> \" being corrupted in perl print statements
> 
> The following test.wml file
> 
> 
> survives pass 1 fine.  In pass 2 it becomes
[...]
> 	<:  print "<a href="$variable"> \n"; :>
> 
> Note the '\' was lost before the " in the print statement.  Pass 3
> dies with the obvious error 
> 	"Scalar found where operator expected at /tmp/wml.20070.tmp1.wml line 15"

This ``feature'' will be discussed later.  Meanwhile you may replace 
	<:  print "<a href=\"$variable\" > \n"; :>
by
	<:  print "<"."a href=\"$variable\" > \n"; :>

-- 
Denis Barbier
WML Maintainer

______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com