[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
wrong perl code generated by wml-1.6.7
- From: Torsten Naumann <nospam@thanx>
- Date: Thu, 6 Aug 1998 18:57:15 +0200 (MEST)
Hi,
I tried out the new wml version 1.6.7. I have problems with this.
Please try this wml example:
-----------------------------------------------------------------
#use wml::std::logo
<logo name="wml">
-----------------------------------------------------------------
The output I get:
-----------------------------------------------------------------
ePerl:Error: Perl parsing error (interpreter rc=2)
---- Contents of STDERR channel: ---------
syntax error at /tmp/wml.19174.tmp1 line 75, near "my"
Execution of /tmp/wml.19174.tmp1 aborted due to compilation errors.
------------------------------------------
** WML:Break: Error in Pass 3 (rc=74).
-----------------------------------------------------------------
I run this with verbose mode 9 and I see, that in pass 2 wrong perl
code is generated:
-----------------------------------------------------------------
...
<:
my $name = "wml";
my $base = "";
my $file = "";
my $target = ""
my $giffile = "$WML_LOC_LIBDIR/aux/logos/logo-$name.gif";
my $infofile = "$WML_LOC_LIBDIR/aux/logos/logo-$name.info";
...
----------------------------------------------------------------
Perl misses the ";" after the my $target = "" .
--
mit froehlichen Gruessen
Torsten
________________________________________________________________
/_ \ Torsten Naumann Chemnitz University of Technology, Germany \
\@)_\ Email: Torsten.Naumann@informatik.tu-chemnitz.de \__
\ Phone: +49-371-5614295 Mobile: +49-177-2382319 \(@\
\_____________________________________________________________\_/
# Wenn wir UNIX von dieser Welt entfernen, steht sie morgen still.
# Wenn wir dasselbe mit Microsoft Office tun, wird sich die
# Produktivitaet raketengleich steigern. Scott McNealy
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com