in reply to Re: Think for yourself.
in thread is the use of map in a void context deprecated ?
(i.e. intimate implementation knowledge of the language)
Reading the latest perldelta is hardly "intimate implementation knowledge".
They did not *want* Perl to be officially implemented to encourage such a bad style.
Perl has never cared about discouraging "bad" style. If you want that, you'd probably enjoy Python or Java. It's a little late for Perl to start doing the same.
After all, Perl is the language that encourages people to use operations like "tr/a/a/" to count the number of a's in a string.
Thanks, I didn't know about that one :)
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
Note: All code is untested, unless otherwise stated
|
---|