|Think about Loose Coupling|
secret code generatorby xiaoyafeng (Chaplain)
|on Dec 19, 2006 at 05:42 UTC||Need Help??|
xiaoyafeng has asked for the
wisdom of the Perl Monks concerning the following question:
I have big trouble!Last day, a python fan have claimed perl is a garbage language.python is much better than it. And raise a question to test perl's "ability":
using letters of a string,enumerate all secret code.
below is my code(I admit it's a garbage)
below is his code (with python)
I'm a perl fan and zealot,but not a accomplished programmer.So my question is:
1.Who can transfer his code to perl, or tell me algorithm of his code? I don't know python at all!
2.We could write a better code with perl,couldn't we?
Thanks in advance for answer my foolish and childish question!
All responds are appreciated!