where I can learn to properly replicate the functionality of the iw_ifcase tag (within an iw_iterate) using perl