in reply to Convert VB equivalent to perl

There were some good replies on converting vb to perl in this node a couple days ago: How to write vbscript equivalent to perl