By Rolf Langsdorf (LanX) from Darmstadt.pm
Date: Friday, 15 March 2013 13:35
Duration: 20 minutes
Language: Deutsch
Tags: interactive repl shell
You can find more information on the speaker's site:
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".