http://www.perlmonks.org?node_id=563502


in reply to Search and replace the word in Column 16

another suggestion - try Larry's a2p:
# a2p $16=="STOCK" {$16="BOXXE"}
it'll give you the piece of code you need.

Enjoy,
Mickey