CAZine: issue 7, January 2010

CAZine: issue 7, January 2010


coderscorner

Anomalies of Code

By: Zerhash

This Month Challenge

Perl yet again!

  1. sub don‘t(&){}
  2.  
  3. do {print "Stuff"}
  4.  
  5. don’t{print "Things"}

Last Months Challenge

  1. JAPH Souffle.
  2.  
  3. Ingredients.
  4. 44 potatoes
  5. 114 onions
  6. 101 g flour
  7. 107 kg salt
  8. 99 bottles of beer
  9. 97 cups acid
  10. 72 l oil
  11. 32 pins
  12. 8 l urine
  13. 108 pines
  14. 101 laptops
  15. 80 mouses
  16. 47 keyboards
  17. 102 idiots
  18. 104 hackers
  19. 67 voodoo puppets
  20. 116 crackpipes
  21. 111 megawatts
  22. 110 numbers
  23. 97 commas
  24. 115 dweebs
  25. 117 sheep
  26. 74 creeps
  27.  
  28. Method.
  29. Put potatoes into the mixing bowl. Put onions into the mixing bowl. Put
  30. flour into the mixing bowl. Put salt into the mixing bowl. Put bottles
  31. of beer into the mixing bowl. Put acid into the mixing bowl. Put oil into
  32. the mixing bowl. Put pins into the mixing bowl. Put pines into the
  33. mixing bowl. Put onions into the mixing bowl. Put laptops into the mixing
  34. bowl. Put mouses into the mixing bowl. Put keyboards into the mixing
  35. bowl. Put idiots into the mixing bowl. Put flour into the mixing bowl.
  36. Put hackers into the mixing bowl. Put voodoo puppets into the mixing
  37. bowl. Put pins into the mixing bowl. Put onions into the mixing bowl. Put
  38. flour into the mixing bowl. Put hackers into the mixing bowl. Put
  39. crackpipes into the mixing bowl. Put megawatts into the mixing bowl. Put
  40. numbers into the mixing bowl. Put commas into the mixing bowl. Put pins
  41. into the mixing bowl. Put crackpipes into the mixing bowl. Put dweebs into
  42. the mixing bowl. Put sheep into the mixing bowl. Put creeps into the
  43. mixing bowl. Liquify contents of the mixing bowl. Pour contents of the
  44. mixing bowl into the baking dish.
  45.  
  46. Serves 1.

I know what you are thinking! “I’m Hungry!”

This is legitimate code though. The output is “Just another Chef/Perl Hacker,”

Chef is an esoteric programming language in which programs look like recipes. With the module Acme::Chef, in perl, you can actually transform your code into the Chef language. Or otherwise you can write the code yourself.

Anyways. Read up on it here

VN:F [1.7.9_1023]
Rating: 10.0/10 (3 votes cast)
CAZine: issue 7, January 201010.0103

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

About the Author