in reply to chop() and list assignments
perl -e "@m=('hal', 'bob', 'didi'); sub foo {substr(@_[-1],-1) }; prin +t &foo(@m); print qq(\n@m);" [download]
Celebrate Intellectual Diversity