convert asp code to perl code

Avg Bid (SGD)
Project Budget (SGD)
$30 - $250

Project Description:
i need to interface with another server to do a membership id check. the server will return true / false accordingly.

the current implementation is done in asp, i need a perl version.

please see attached for code snippet, certain details have been blanked out intentionally.

Skills required:
ASP, Perl
Additional Files: sample.aspx.cs
About the employer:
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

$ 263
in 3 days
Hire ashishicfai
$ 206
in 12 days