Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: while ()

by blazar (Canon)
on Jun 07, 2005 at 16:44 UTC ( [id://464385]=note: print w/replies, xml ) Need Help??


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 (;;) { '???'; }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://464385]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (1)
As of 2024-04-24 14:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found