Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Help! Trying to avoid the dark side of Python

by JojoLinkyBob (Scribe)
on Nov 27, 2001 at 23:38 UTC ( [id://127880]=perlquestion: print w/replies, xml ) Need Help??

JojoLinkyBob has asked for the wisdom of the Perl Monks concerning the following question:

I've just been assigned a task of writing a test procedure in Python, which already exists as Perl script, but because the company has only certified Python, I'm required to use Python...

So... I was wondering if there's any nice perl2python program out there that does a decent job of converting?
Thx

Desert coder
  • Comment on Help! Trying to avoid the dark side of Python

Replies are listed 'Best First'.
Re: Help! Trying to avoid the dark side of Python
by chromatic (Archbishop) on Nov 28, 2001 at 00:36 UTC
    It's not exactly what you want, but Acme::Bleach makes whitespace significant. Very significant.

      ROTFLMAO, much to the confusion of my coworkers :)

      That's frickin' hilarious, but I'd like to see someone maintain that :)

      Cheers,
      Ovid

      Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.

        And the source is even funnier!

        -- iakobski

Re: Help! Trying to avoid the dark side of Python
by runrig (Abbot) on Nov 28, 2001 at 00:12 UTC
    Does Python have the equivalent of a system command (it must, eh)? Then just put in the Python program (using python syntax, of course):
    system('perl old_perl_script');
    ...and see how long it takes anyone to notice :-)
      Nice try, but that might not pass peer review :)
      Desert coder
Re: Help! Trying to avoid the dark side of Python
by mitd (Curate) on Nov 28, 2001 at 00:16 UTC
    Its still pretty immature but you might checkout Parrot.

    mitd-Made in the Dark
    'Interactive! Paper tape is interactive!
    If you don't believe me I can show you my paper cut scars!'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://127880]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-25 14:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found