in reply to Re: while ()
in thread while ()

Indeed this is what calin himself found, but it seems to be version dependent too (with no substantial differences, however). See Re^3: Reopen file when contents changed?.

Replies are listed 'Best First'.
Re^3: while ()
by calin (Deacon) on Jun 07, 2005 at 16:49 UTC

    I now think that while () deparses as for because while (1) is "optimised" (whatever that means) into for(;;) in perl 5.6.1.

    $ perl561 -MO=Deparse -e 'while(1) {1}' for (;;) { '???'; }