Thanks koncept,
It is related to e-payments. I reckon that will be very difficult to find matching script in asp/asp.net because this system is bulgarian (where i come from) and seems to be not quite compatible with other similar systems and payment gateways over the world (at least these wich i have worked on).
So when we have a deep look in above perl script will see that it interacts with executable file (eccli), passing some variables through $qry and then get back results. The magic key here is how to make it with asp/asp.net.