$beatcounter=0; $lineone='I wandered to find find you,'; $linetwo='I wondered to breath,'; $linethree='I wandered around,'; $linefour='to find only cheese.'; #Indecision and doubt $lineone=~s/wandered/have wondered/; $linetwo=~s/^(I wondered)/I know $1/; $linethree=~s/^(I wandered)/I didn't wonder/; $poem=$lineone.$linetwo.$linethree.$linefour; $poem=~s/([,]|[.])/$1\n/g; @poem=split //, $poem; print "\n".$poem; print "\nBy "; @author=(3,79,0,15,86,32,86,18,29,7,16,17); foreach $x (@author){ print chr($x^ord(@poem[$beatcounter])); $beatcounter++; } print ".\n\n";
|
|---|