Python to Perl transalators

Abhinayaraj.Raju at Emulex.Com Abhinayaraj.Raju at Emulex.Com
Wed Mar 18 11:41:06 CET 2009


-----Original Message-----
From: Andre Engels [mailto:andreengels at gmail.com] 
Sent: Wednesday, March 18, 2009 3:53 PM
To: Raju, Abhinayaraj
Cc: python-list at python.org
Subject: Re: Python to Perl transalators

On Wed, Mar 18, 2009 at 6:27 AM,  <Abhinayaraj.Raju at emulex.com> wrote:
>
> -----Original Message-----
> From: chris at rebertia.com [mailto:chris at rebertia.com] On Behalf Of Chris Rebert
> Sent: Wednesday, March 18, 2009 10:53 AM
> To: Raju, Abhinayaraj
> Cc: python-list at python.org
> Subject: Re: Python to Perl transalators
>
> 2009/3/17  <Abhinayaraj.Raju at emulex.com>:
>> Could anyone suggest whether there is any Python to Perl code convertors?
>> I found one on the net viz. Perthon. But it wasn’t really helping out.
>
> <humor>
> Why on earth would you want to? That'd be like translating Shakespeare
> into a bad rap song!
> </humor>
>
> Cheers,
> Chris
>
> --
> I have a blog:
> http://blog.rebertia.com
>
> :-)
>
> I am just a beginner learning both the languages. Wondered if I can have some comparative understanding of both.

I think automatic translation would be a very bad way of getting
understanding of both. Translating from another language to Python
usually leads to very un-Pythonic code - syntactically correct and
working Python, but not 'real' Python. I assume that translating from
Python to Perl will lead to something similarly un-Perlish.

-- 
André Engels, andreengels at gmail.com



Thanks Andre for your suggestions!

Agni


More information about the Python-list mailing list