Michele said:
...I see that you mention yourself psh and others pointed you to
perl-{based,oriented} *command* shells, but since you talked about
"Python's interactive interpreter" I thought that the closest thing
would have been an... interactive Perl interpreter, which is what I
pointed you to. If you do not find that satisfying, care to say why?
Yes, you're right. I'm sorry about the sarcastic reply earlier.
Here's a description of a few things that the perl interpreter doesn't
do interactively:
http://dev.perl.org/perl6/rfc/184.html
The Python interpreter offers a lot more, though. As a Python
developer, I'm used to being able to start the interpreter, instantiate
some of my new classes I've written, invoke methods, determine the
types of the objects.
The Python interpreter feels a lot like Smalltalk without the graphic
interface.
It's a common development style for Python programmers, and I was
hoping to use it with my Perl development. Here's an example of what I
mean. I'd love to find an environment that provides this kind of
convenient syntax (uses only the syntax of the language itself), plus
has these useful features in Perl. Automatic evaluation of names,
high-level user feedback, etc:
.... def bark(self):
.... print "Woof"
....['__add__', '__class__', '__contains__', '__delattr__', '__doc__',
'__eq__', '__ge__', '__getattribute__', '__getitem__',
'__getnewargs__', '__getslice__', '__gt__', '__hash__', '__init__',
'__le__', '__len__', '__lt__', '__mod__', '__mul__', '__ne__',
'__new__', '__reduce__', '__reduce_ex__', '__repr__', '__rmod__',
'__rmul__', '__setattr__', '__str__', 'capitalize', 'center', 'count',
'decode', 'encode', 'endswith', 'expandtabs', 'find', 'index',
'isalnum', 'isalpha', 'isdigit', 'islower', 'isspace', 'istitle',
'isupper', 'join', 'ljust', 'lower', 'lstrip', 'replace', 'rfind',
'rindex', 'rjust', 'rsplit', 'rstrip', 'split', 'splitlines',
'startswith', 'strip', 'swapcase', 'title', 'translate', 'upper',
'zfill']<type 'builtin_function_or_method'>