Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Python challenge -> Perl

by spurperl (Priest)
on May 12, 2005 at 12:08 UTC ( [id://456357]=CUFP: print w/replies, xml ) Need Help??

Fellow Monks,

While reading this (good idea, btw !) I remembered something I ran into a few days ago - The Python Challenge. It looks like real fun - a way to sharpen some programming skills. Two thoughts:

  1. Has anybody tried to solve the challenge in Perl ?
  2. Perhaps we can consider designing a Perl challenge in a similar spirit ? It looks like fun.

Replies are listed 'Best First'.
Re: Python challenge -> Perl
by Mr. Muskrat (Canon) on May 13, 2005 at 02:07 UTC
    I have been since you made me aware of it. Now I'm stuck on number 5 but I don't want to say why or I might give away what you need to do.
      I did the same thing yesterday. Got as far as number 5...then I realized that I should probably get back to my real work...programming visual c++...sigh

      It really is a neat concept though.


      Spem Successus Alit
      I solved this one yesterday.
      Took me about half an hour to get the clou ^^
      Don't be confused, it will all make sense.

      May the force of CPAN be with you!
      So you're doing it in Perl ?

        Yes. I need to research what the Python should do and then I can rewrite it in Perl.

        There. I didn't give away the clue. :)

Re: Python challenge -> Perl
by ank (Scribe) on Jun 11, 2005 at 11:05 UTC

    After reading this post, I couldn't help trying... got to level 8th so far using only perl (except for a bit in the 5th).

    A little comment/question for those who have made it through level 5

    (Warning: big spoilers for level 5!):
    Did Python::Serialise::Pickle actually work for you? It wasn't working right for me :( what version have you been using? perhaps another module?

Re: Python challenge -> Perl
by Animator (Hermit) on May 17, 2005 at 08:36 UTC

    So far I'm up to level 14... Level 5 sure was a tricky one and required some research, as in, finding the name of a certain python module and then looking for one with a similar behaviour on CPAN... (lucky it was there, else it would have been really hard, since I don't know a single bit of Python)...

    For those really needing a hint for level 5:
    Look on CPAN for a Module starting with Python::

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-25 09:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found