in reply to Re^8: Order of evaluation/interpolation of references
in thread Order of evaluation/interpolation of references

The bug is in the design, and I doubt that such an ugly templating system was ever intended, it has look and feel of an accident.

A real templating system in the core language and PHP wouldn't even exist today.

I would appreciate if future strictures would kill this possibility in favor of such real templating.

Cheers Rolf

  • Comment on Re^9: Order of evaluation/interpolation of references

Replies are listed 'Best First'.
Re^10: Order of evaluation/interpolation of references
by BrowserUk (Patriarch) on Mar 08, 2012 at 02:43 UTC
    such an ugly templating system

    I see nothing in the OP that mentions "templating". I think you assume far, far to much.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

      This whole mechanism is a backdoor to execute code while interpolating

      DB<106> print "@{ [`ls`] }" babel-14425MIs emacs1000 keyring-JbFqiG orbit-lanx perlfunc.pod ...

      Thats a clear violation of the line between interpolation (like in s//$x+1/) and evaluation (like in s//$x+1/e)

      Cheers Rolf

      Updated example!