On a related note, I'm also having problems
with some of my old code that does:

<[+ $element +]> to generate html tags from within
code.

Under Embperl 2.0, this outputs the literal string:

 <[+ $element +]>

But under embperl 1.3 it outputs

 <b>

(if the value of $element was 'b')

My workaround is to use

[$ syntax EmbperlBlocks $]
<[+ $element +]>
[$ syntax Embperl $]

but this isn't very backwards compatible.

Michael

> -----Original Message-----
> From: Michael Stevens 
> Sent: Wednesday, April 25, 2001 7:44 PM
> To: '[EMAIL PROTECTED]'
> Subject: embperl 2.0b3_dev - weird problem
> 
> 
> Hi.
> 
> We're testing embperl 2.0b3_dev, and I've found a weird
> problem.
> 
> Putting
> 
> [- # foo -]
> 
> in a file works under embperl 1.3, but under this version
> gives an error. Replacing "# foo" with some code that
> does something works fine.
> 
> Michael
> 
> http://www.iii.co.uk 
> Interactive Investor International is a leading UK Internet personal 
> finance service that provides individuals with the capability 
> to identify, 
> compare, monitor and buy online a number of financial 
> products and services.
> 
> Interactive Investor Trading Limited, a subsidiary of 
> Interactive Investor 
> International plc, is regulated by the SFA.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

http://www.iii.co.uk 
Interactive Investor International is a leading UK Internet personal 
finance service that provides individuals with the capability to identify, 
compare, monitor and buy online a number of financial products and services.

Interactive Investor Trading Limited, a subsidiary of Interactive Investor 
International plc, is regulated by the SFA.

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

Reply via email to