Languages like Ruby, Python, Lua, PHP, Node.js, etc. have a simple "shell" where you can type simple one-liners and see the result. Does Perl has something similar? I'm not looking for something fancy that does pretty printing (I'll use print()) or accepts multiline input.
The story is this:
I need to experiment with some regexps. I know I can do perl -e "..."
but then I need to shell-escape the code and this complicates matters. If I had a Perl shell I wouldn't need to worry about escaping.