Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Off the top of my head...

    Pop-11: Assignment was done with the right-arrow operator.

    ;;; perl's $x = 10 would be written as
    10 -> x;

    Which has the advantage (as far as I'm concerned anyway :-) of reading naturally ("10 goes into x") and allowing us to use "=" to indicate equality as god intended, removing all of those "if x=10" type errors.

    Pop-11: The "updaterof" idiom (see this example [perlmonks.org]) that gave a nice way of separating access/mutate methods.

    Pop-11: direct access to the parser/compiler for the language so we could write our own extensions to the base language if we so wished. See this example [poplog.org].

    Poplog: Of course the whole Pop-11/Lisp/ML/Prolog compiling to the same VM was pretty neat too - its why I still hope Parrot takes off:-)

    Lisp: decent macros of course :-)

    Eiffel: The elegant way they handle multiple inheritance.