Michael G Schwern wrote : > On Thu, Dec 13, 2001 at 08:30:12AM +0100, [EMAIL PROTECTED] wrote: > > I am sorry for oversimplifying the example. > > The same bug appears in: > > > > #!/usr/bin/perl > > if ($ARGV[0]) {die "aa";} > > elsif ($ARGV[1]) {die "bb";} > > > > if it is run with command line parameters 0 1. > > Interesting, it appears to be totally dependent on whether there's any > whitespace on the beginning of the second block.
Correct, the tokenizer increments the internal line counter for the op being compiled when it encounters whitespace. (Haven't I posted a similar answer to a similar question some weeks ago ?)