Is it possible to convert CGI code to asp - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Is it possible to convert CGI code to asp

ahmed_alhassanahmed_alhassan Posts: 2Member
Hi
I have a programe coded by perl. I want to " export it" to asp. Is that possible, is there any tools to do that.

Thanks


Comments

  • JonathanJonathan Posts: 2,914Member
    : I have a programe coded by perl. I want to " export it" to asp. Is that possible, is there any tools to do that.
    :
    ActiveSate make a tool that will allow you to use Perl scripting in Active Server Pages. You would probably still need to do changes so your script got, for example, data from the request object. Converting Perl to something like VBScript or JScript is probably a no-go - Perl is a much more rich and powerful language than either of these due to its dynamic nature, so an automated language conversion tool would be difficult. You can, oc course, do it by hand.

    Why do you want to do this anyway? You can run Perl anywhere you can run ASP so far as I'm aware, and with teh ISAPI plug-in free from ActiveState you can get good performance using Perl with IIS.

    ActiveState site here:-
    http://www.activestate.com/

    Jonathan

    ###
    for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
    (tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
    /(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");

  • ahmed_alhassanahmed_alhassan Posts: 2Member
    thanks,

    regarding why i a want to run asp; i am working within LAN, and running perl (cgi or pl) extension is some times banned due to security reasons that i am not a ware of. So, i decided to switch to asp. In fact, as you mentioned, running perl is more powerfull and more flexible, but the issu is security rather than performance.

    Again, many thanks



    : : I have a programe coded by perl. I want to " export it" to asp. Is that possible, is there any tools to do that.
    : :
    : ActiveSate make a tool that will allow you to use Perl scripting in Active Server Pages. You would probably still need to do changes so your script got, for example, data from the request object. Converting Perl to something like VBScript or JScript is probably a no-go - Perl is a much more rich and powerful language than either of these due to its dynamic nature, so an automated language conversion tool would be difficult. You can, oc course, do it by hand.
    :
    : Why do you want to do this anyway? You can run Perl anywhere you can run ASP so far as I'm aware, and with teh ISAPI plug-in free from ActiveState you can get good performance using Perl with IIS.
    :
    : ActiveState site here:-
    : http://www.activestate.com/
    :
    : Jonathan
    :
    : ###
    : for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
    : (tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
    : /(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");
    :
    :

Sign In or Register to comment.