How can I start an interactive console for Perl, similar to the irb command for Ruby or python for Python?
irb
python
I always did:
rlwrap perl -wlne'eval;print$@if$@'
With 5.10, I've switched to:
rlwrap perl -wnE'say eval()//$@'
(rlwrap is optional)