Convert VBScript to Perl

  • 18 years ago

    Hi i never hed to use perl but now i have to... so if enyone knows a way to contert this script to perl please let me know...  


    <%@ LANGUAGE="VBSCRIPT" %>
    <%
    Option Explicit
    Dim parser, rootElement, testDocNode
    Set parser = Server.CreateObject("Microsoft.XMLDOM")
    parser.loadXML("<Document>" & Request.Form & "</Document>")
    Set rootElement = parser.documentElement
    Set testDocNode = rootElement.selectSingleNode("testDoc")
    Response.ContentType = "text/xml"
    Response.write("<Response>" & testDocNode.Text & "</Response>")
    %>

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.” - Tom Cargill