PreplFriday, 17th April 2020 ◆ Bivalve mollusc has tendency to shout for attention? (6)
In a previous job, I used to work with Perl a lot. To make life simpler, I made a quick and dirty REPL (read-eval-print-loop) for Perl. It is similar to the interactive shells offered by Ruby (
irb) and Python (
- You can refer to the return values of previous expressions with
- Hashrefs and arrayrefs are pretty-printed so they are easy to read
- Prompt-like keyboard commands (up for history, ctrl-l for clear, editting current line) is automatically enabled if you install the relevant CPAN modules for your platform
I stuck it in a gist in case it will be useful for anyone else. Just put it on your path, and you're good to go!
There are no comments yet.