http://qs321.pair.com?node_id=610245

Cody Pendant has asked for the wisdom of the Perl Monks concerning the following question:

I teach a general programming class, and I'm looking for interesting tasks to teach programming concepts.

One example is "produce English date suffixes from numbers", i.e.

for(1 .. 31){ print $_ . suffix($_) . "/n"; }
where "suffix()" is a sub that the students have to come up with.

I like this task because

So, have monks got any examples of similar exercises which would be suitable for learners?



($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
=~y~b-v~a-z~s; print