from-import on non-module objects?

Thomas Wouters thomas at xs4all.net
Sun Feb 4 18:14:53 EST 2001


On Sun, Feb 04, 2001 at 01:33:42PM -0800, Clarence Gardner wrote:

> Speaking of the friendly interactive Python, I saw recently that someone
> finally made an interactive shell for Perl.  I always wondered why they
> hadn't done it sooner.  [I'll bet it's not as good, though :)]

Perl isn't as easy, interactively, as Python, due to the way it manages
variables and code (as lazy as possible, that is :) And for the people that
really wanted one, there has been the Perl debugger for a while. The way to
get an interactive prompt was: 'perl -de1'. Quite recently (in 5.004 I think
?) they even added readline support in it. Not sure if that's the
interactive interpreter you were talking about or not, though; my sole
contribution to Perl has been the detection of a bug in the 'require'
statement :)

-- 
Thomas Wouters <thomas at xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!




More information about the Python-list mailing list