regen/opcodes: Rmv evalonce comment
authorFather Chrysostomos <sprout@cpan.org>
Sun, 22 Apr 2012 06:28:51 +0000 (23:28 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 21 May 2012 23:51:28 +0000 (16:51 -0700)
This goes all the way back to when perl 5.0 was being polished up.
The idea behind evalonce is that eval "constant string" should be
optimisable by being compiled ahead of time, just like eval { ... }.
But this could never work properly, because BEGIN blocks would only
fire once.  Also, eval '$x .. $y' is an easy way to create two separ-
ate flip-flops.  There are undoubtedly many other reasons why this
could never work.

So there is no reason to keep this comment any longer, as it is not
(or should not be) a to-do item.

regen/opcodes

index 22cc913..0beba6a 100644 (file)
@@ -485,7 +485,6 @@ dofile              do "file"               ck_fun          d1      S
 hintseval      eval hints              ck_svconst      s$
 entereval      eval "string"           ck_eval         du%     S?
 leaveeval      eval "string" exit      ck_null         1       S
-#evalonce      eval constant string    ck_null         d1      S
 entertry       eval {block}            ck_eval         d|      
 leavetry       eval {block} exit       ck_null         @