By Rolf Langsdorf (LanX) aus Darmstadt.pm
Datum: Freitag März 15, 2013 13:35
Dauer: 20 Minuten
Language: Deutsch
Tags: interactive repl shell
Mehr Informationen gibt es auf der Seite des/der Vortragenden:
Vorläufig noch das alte Abstract von der YAPC:EU2012 in Englisch.
Deutsches update mit neuen Features folgt.
--------------------------------------------------
In comparison to many other script languages the Perl project lacks a convenient interactive shell which is available out of the box.
For instance Rubys "irb" has many advantages over using Perl's debugger started with "perl -de0".
We will show an approach to extend/reconfigure the perldebugger in a way to achieve:
- a REPL feeling by dumping the return values automatically without needing to prepend an p or x command.
- automatic multiline support including indentation (i.e. w/o needing to append "\\")
- importing shell commands for everyday use of commands like "ls" or "cd".