view bin/blessyou @ 12115:77998d6dfbd4 draft

<fizzie> fetch /hackenv/bin/tomfoolery https://hack.esolangs.org/get/bin/tomfoolery
author HackEso <hackeso@esolangs.org>
date Sat, 16 Nov 2019 22:53:52 +0000
parents fea38c2307ee
children
line wrap: on
line source

#!/usr/bin/perl
$_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Bless you, $_. "; if (/[aeiouyAEIOUY0134]/) { s/^[^aeiouyAEIOUY0134]*/Bl/; } else { s/^./B/; } print "$_.";