Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: If I was forced to program in another language, the Perl language feature I would miss most would be: (eval)

by Corion (Patriarch)
on Oct 17, 2006 at 06:36 UTC ( #578681=note: print w/replies, xml ) Need Help??


in reply to If I was forced to program in another language, the Perl language feature I would miss most would be:

It was not an option, but string eval is the most essential feature, because with it, you can create almost any other feature you want. So, for me, it's "anonymous subroutines", because the existence of anonymous subroutines might hint at closures also being available.

  • Comment on Re: If I was forced to program in another language, the Perl language feature I would miss most would be: (eval)
  • Download Code

Replies are listed 'Best First'.
Re^2: If I was forced to program in another language, the Perl language feature I would miss most would be: (eval)
by hardburn (Abbot) on Oct 17, 2006 at 14:10 UTC

    String eval has been hated by many (and rightly so, in most cases), but the dirty little secret is that implementing Apache::Registry would be a lot harder without it.


    "There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.

      Or more relevant, neither 'use', nor 'require' would work without string eval.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2023-03-22 15:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?