Try
perl -de 0
Which will get you into a 'shell like' debugging session. From here you can do these things:
- * Command History (Press the up arrow -- you may need to run DOSKEY...not sure)
- * Multi-line command input (use the backslash at the end of commands for multi-line stuff )
- * Enable editing of multi-line statements retrieved from history (doesn't do this so well, but read on)
- * Encryption/Decryption of password file entries (write functions to do this and stick them in libraries. Require the libraries)
- * Flowthru of DOS commands from shell (use backticks or the good old system command);
- * Enable predefined commands to be easily added to shell (add scripts with functions and require or use do)
...
The previous solutions pretty much cover anything else in your list.
This environment is a bit clunky, but it can do what you are looking for.
Celebrate Intellectual Diversity