Re: equivalent of perl $/

Larry Wall (lwall@netlabs.com)
Sun, 29 Jan 1995 02:20:27 GMT

In article <1995Jan26.131856.18855@njitgw.njit.edu> aaron@funcity.njit.edu (Aaron Watters) writes:
: In article <3g4jo6$6q4@staff.cs.su.oz.au> danny@cs.su.oz.au (Daniel Yee) writes:
: >I haven't seen Perl 5; what has it stolen from Python?
:
: All the OO stuff. I'm not an expert on it, but I made an assertion
: like this in the perl newgroup ages ago, and no one contradicted me.

In general, comp.lang.perl is a pretty civilized. People don't usually
contradict me there either. :-)

I certainly "borrowed" some OO ideas from Python, but it would be inaccurate
to claim either that Perl borrowed all of Python's OO stuff, or that all of
Perl's OO stuff is borrowed from Python. Paint yourself contradicted.

: I suspect Python's OO system is still more flexible (eg, it's easy
: to create/use a list containing basic numbers plus number-like classes without
: difficulty in Python, but I think it's more problematic in perl) but
: someone please correct me.

It's pretty easy to do in Perl too. I may be slightly biased, of course.

: Even if perl swallowed python whole,
: python's core minimality and elegance would remain preferable in my
: book, for larger projects at least. -a

There's lots of room in the world for both Perl and Python. I'm not
planning on writing a Python to Perl translator any time soon. ;-)

Larry Wall
lwall@netlabs.com