I still find the use of $modespl to be ideal. Besides, every network's protocols are vary from one to another.