PYTHON WORKING WITH PERL ??

Pat Pat at junk.net
Fri Oct 17 11:00:42 EDT 2008


Sean DiZazzo wrote:
> On Sep 29, 12:44 pm, "Blubaugh, David A." <dbluba... at belcan.com>
> wrote:
>> Sir,
>>
>> You are absolutely correct.  I was praying to G_d I did not have to
>> slaughter my project's source code in this manner.  However, like life
>> itself, I was given legacy source code (i.e. someone else errors to fix)
>> in Perl.  However, I have just found out that there is a way to import
>> the Perl interpreter within Python!!!  I now believe I can utilize
>> python as the main platform to develop the project upon !!  
>>
>> Thanks,
>>
>> David
>>
>> -----Original Message-----
>> From: D'Arcy J.M. Cain [mailto:da... at druid.net]
>> Sent: Monday, September 29, 2008 1:32 PM
>> To: Blubaugh, David A.
>>
>> Cc: python-l... at python.org
>> Subject: Re: PYTHON WORKING WITH PERL ??
>>
>> On Mon, 29 Sep 2008 13:16:14 -0400
>> "Blubaugh, David A." <dbluba... at belcan.com> wrote:
>>> I was wondering if it was possible to have a situation where a
>>> programming project would utilized BOTH python and perl?  Such as
>>> utilizing python for internet programming and then utilize perl for
>>> text processing and systems programming?  Is this even feasible???
>> I don't see why not but I also question if it is a good idea.  Once you
>> have all your objects and low level methods written in Python it just
>> makes sense to re-use them rather than trying to duplicate the
>> functionality in another language.
>>
>> Of course, sometimes we don't have control over our entire environment
>> so yes, you can mix them if you have to.
>>
> 
> 
> Rewrite everything in python.  Save yourself now...while you still
> can.
> 
> ~Sean

Trust me. Sean is absolutely correct. I'm currently in the process of 
converting a large Perl project to Python (and learning Python at the 
same time) and the improvement in code is incredible.  After you learn 
Python, you'll come to despise Perl.



More information about the Python-list mailing list