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
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
(if the value of $element was 'b')
My workaround
> How do I determine the file handle in your upload example?
> Where would I put this command in the example?
>
[- if (defined $fdat{ImageName}) {
open FILE, "> /tmp/file.$$";
binmode FILE ;
print FILE $buffer
while read($fdat{ImageName}, $buffer, 32768);