Re: Compiling k_puzzle.pl

From: Warwick Harvey <wh_at_icparc.ic.ac.uk>
Date: Fri 25 Oct 2002 07:23:48 PM GMT
Message-ID: <20021025202347.Z7587@tempest.icparc.ic.ac.uk>
Hi Andrea,

On Tue, Oct 22, 2002 at 01:40:02PM +0200, andrea.bandera@bluemail.ch wrote:
> Hi all,
> 
> compiling the program example k_puzzle.pl on my Windows 2000 computer I
> have this error:
>     file k_puzzle.pl, line 49: syntax error: postfix/infix operator expected
> | 	A #&lt; C, A #&lt; H, A #&lt; L, A #&lt; S, A #&lt; Q,
> |            ^ here
> 
> Why? Any solution?

It looks like when you saved/copied the program from our web page that it
was saved in HTML format for some reason: ` &lt; ' is HTML for ` < '.  Just
replace the occurrences of `&lt;' in the source with `<' and it should work
--- or try saving the file from our web page again, being careful to save as
"source" or "plain text" or something similar.

Cheers,
Warwick
Received on Fri Oct 25 20:26:00 2002

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:17 PM GMT GMT