Skip to content

Instantly share code, notes, and snippets.

@nolim1t
Created June 9, 2009 02:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nolim1t/126220 to your computer and use it in GitHub Desktop.
Save nolim1t/126220 to your computer and use it in GitHub Desktop.
Bonus points if you work out what this Perl does!
for($a=1;$a<=11;$a++){if($a==1){print "h";}elsif($a==2){print "e";}elsif($a==3 or $a==4 or $a==10){print "l";}elsif($a==5 or $a==8){print "o";}elsif($a==11){print "d";}elsif($a==7){print "w";}elsif($a==9){print "r";}else{print " ";}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment