Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^5: Has anyone attempted to create a PHP to Perl converter?

by sundialsvc4 (Monsignor)
on Nov 16, 2013 at 00:06 UTC ( #1062824=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Has anyone attempted to create a PHP to Perl converter?
in thread Has anyone attempted to create a PHP to Perl converter?

What I mean, Toby, is just that “within the Perl system, most-specifically versus the PHP system,” there is n-o concept of the language-interpreter being “embedded within” a surrounding file “that is to be served.”   Although this concept is a foundation of PHP, I can’t readily recall any other language which does the same thing.

Still, you quite-correctly heap coals upon the same fire:   there are, in fact, a great many differences between the two languages which would make a transliteration between them ... let alone an automatic one ... quite difficult to achieve satisfactorily.   And this may well be the best answer to the OP’s question:   “Even if it could be done, it’s just not worth doing.”   We don’t have to do it.   There is no advantage to be had in picking that particular fight.   We have all of these language systems at our beck-and-call, side by side.   We can, when we need to, make them work together.


Comment on Re^5: Has anyone attempted to create a PHP to Perl converter?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1062824]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2014-07-12 07:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (238 votes), past polls