in reply to body content is missing while sending mail with attachment

Meh. Typed a reply to this earlier, but must have only hit "preview" because it's disappeared. :-(

Anyway, the gist was: don't use the uuencode command. Just use mailx's "-a" option to attach a file.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'