view bin/blessyou @ 11921:76b3307f169c draft

<wob_jonas> fetch wisdom/can\'t https://hack.esolangs.org/get/wisdom/can%27t
author HackEso <hackeso@esolangs.org>
date Thu, 29 Aug 2019 16:02:31 +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 "$_.";