Perl, every where

This days I’m writting a perl script to verify a 25 port is available on a particular machine. I’ve writte two different versions:

  1. first one using Use IO::Socket: hard way, dealing with carriage returns, and line-feeds, specially if you’re using qmail, and my version was unable to connect with qmail or exchange transparently…
  2. second one using Use Net::SMTP: easy, smoothly way, no problems at all and able to connect both servers (qmail and exchange) using the same script.

I’ll put that script at my never-starting project …

Most interesting thing is that I’ve talking with a MS Admin about using perl also in Microsoft machines. I hope it happens.

Post a Comment

Your email is never shared. Required fields are marked *