in reply to Re: evaluating syntax of code blocks (code)
in thread evaluating syntax of code blocks (code)

Perl has already parsed and verified the code's syntax as being correct,
Acting as deprecated's spokesperson, what he means is that the syntax projected into undesired semantics... had the semicolon been after the autoincrement, the projection would have been the intended one.

One simple thing you can do is see if a line does not end in semicolon... assuming the program statements are simple, then each line shouldend with semicolon.

  • Comment on Re: Re: evaluating syntax of code blocks (code)

Replies are listed 'Best First'.
Re: Re: Re: evaluating syntax of code blocks (code)
by MeowChow (Vicar) on Jul 02, 2001 at 07:01 UTC
    I'm not sure I understand what you mean by "projected into undesired semantics". The myFunc that deprecated provided as an example will not compile, hence, it has no semantics to speak of.
       MeowChow                                   
                   s aamecha.s a..a\u$&owag.print