Professional Web Applications Themes

Convert Perl/cgi To PHP - PHP Development

Hi all 1......Can you convert a Perl/cgi script into PHP? 2.......If so is there any programs that can do it? 3 If so what are the urls? 4......If someone was to do this What would the cost be? I know "How long is a bit of string" As always, any and all help is greatly appreciated. Thank you in advance....

  1. #1

    Default Convert Perl/cgi To PHP

    Hi all

    1......Can you convert a Perl/cgi script into PHP?

    2.......If so is there any programs that can do it?

    3 If so what are the urls?


    4......If someone was to do this What would the cost be?
    I know "How long is a bit of string"


    As always, any and all help is greatly appreciated.

    Thank you in advance.




    hope@hope.com Guest

  2. #2

    Default Re: Convert Perl/cgi To PHP

    In article <com>, com
    wrote:
     

    yes. 

    It's called a brain. Buy some Perl and PHP books, read them, and you
    should have your program.
     

    --
    DeeDee, don't press that button! DeeDee! NO! Dee...



    Michael Guest

  3. #3

    Default Re: Convert Perl/cgi To PHP

    Thank you for getting back to me
     
    >
    >It's called a brain. Buy some Perl and PHP books, read them, and you
    >should have your program.[/ref]


    Thank you for your comments. I do not think

    I have done loads of searches with google to TRY to find out how to do this BUT nothing came
    back. It seams to me that there now seams to be a script or program to do most things.

    BUT it does not look like for this type of thing.

    If I had years of working with Perl than I would NOT have posted to this forum.

    All I ask for was if it could be done

    It is like most things EASY when you know how


    Thank you



    On Wed, 15 Jun 2005 14:31:37 -0700, Michael Vilain <net> wrote:
     
    >
    >yes. 
    >
    >It's called a brain. Buy some Perl and PHP books, read them, and you
    >should have your program.
    > [/ref]

    hope@hope.com Guest

  4. #4

    Default Re: Convert Perl/cgi To PHP

    On Wed, 15 Jun 2005 18:49:54 GMT, com wrote:
     

    Machine translation from one language to another is typically not an easy
    task. Compilers are one case, usually converting from a higher level language
    to a lower level one (e.g. C to machine code).

    Conversion between two high-level languages is harder. The only program that
    can read Perl reliably is perl, and even once it's pd, converting it to an
    equivalent PHP program would, in the general case, be very hard.

    There's some converters for other languages, such as asp2php, but all they
    produce is an initial base that you'd have to edit heavily afterwards. And in
    that case, it's coming from a much simpler language.
     

    Since machine translation is unlikely, that means you need a programmer, in
    which case the length of the piece of string depends on the program.

    --
    Andy Hassall / <co.uk> / <http://www.andyh.co.uk>
    <http://www.andyhsoftware.co.uk/space> Space: disk usage ysis tool
    Andy Guest

  5. #5

    Default Re: Convert Perl/cgi To PHP

    com wrote: 

    Fairly easy if you know both - which I do.
     
    don't know & don't know
     

    email me at tony23 at dslextreme dot com - I'll be happy to take a look at
    what you have & what it would take.


    --
    Tony Garcia
    Web Right! Development
    com


    Tony Guest

  6. #6

    Default Re: Convert Perl/cgi To PHP


    <com> wrote in message
    news:com... 

    In priniciple, this can be done. Perl is considerably
    better at hacking at strings than is PHP, so the conversion
    is likely to be hard.
     
    I doubt it. Our company builds language-to-language translators.
    We'd probably know if it existed.


    Our DMS technology is the right technology to do this,
    though, even if it is hard.
    We've done translators to do 100% automated conversion.

    It isn't easy or cheap to configure DMS to do a translation.
    Just lots easier, and lots cheaper, than doing by hand
    if you have any significant amount of code.
     

    http://www.semdesigns.com/Products/Services/LegacyMigration.html

     

    We typically tell people between $2-$4 per line, for sufficiently
    large quantities of code. Otherwise the setup engineering costs
    dominate.


    --
    Ira D. Baxter, Ph.D., CTO 512-250-1018
    Semantic Designs, Inc. www.semdesigns.com


    Ira Guest

  7. #7

    Default Re: Convert Perl/cgi To PHP

    "Ira Baxter" <com> ; 
    > I doubt it. Our company builds language-to-language translators.
    > We'd probably know if it existed.[/ref]

    Have you written VB or Visual C++, C++ Builder to Delphi? Such tools would
    be great :]

    Regards,
    Talthen


    Guest

Similar Threads

  1. OLE Module - Need to convert Excel VB Macro to perl
    By paul.porcelli@scottishwater.co.uk in forum PERL Modules
    Replies: 0
    Last Post: August 3rd, 04:06 PM
  2. Replies: 8
    Last Post: June 23rd, 08:38 AM
  3. how to convert decimal to hexadecimal in perl
    By indie in forum Perl / CGI
    Replies: 2
    Last Post: July 12th, 11:47 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139