in reply to My first attempt (a.k.a. learning to use map)

I think you got your mapping exercise. For $_=~s/x/map/g; how about s gxgmapgig, as an obfoosticator?

After Compline,
Zaxo