Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^3: mod_perl and shared environments don't mix - do they?

by Aristotle (Chancellor)
on Nov 11, 2002 at 02:35 UTC ( #211841=note: print w/replies, xml ) Need Help??

in reply to Re: Re: mod_perl and shared environments don't mix - do they?
in thread mod_perl and shared environments don't mix - do they?

I don't quite follow.

perl is written in C as well. It compiles scripts to bytecode which it then executes.

The PHP interpreter is written in C, but does not compile PHP scripts to machine code. It still interprets them.

There's no difference there.

As far as security is concerned, I actually believe there is a whole lot of reasons to distrust PHP. Among others, POST and GET parameter names used to become global variable names - and a lot of folks I've seen writing PHP code still look at me like an alien when I tell them they switch that behaviour off. (Apparently, writing $HTTP_POST_PARAMETER[] or whatsitcalled for every variable is too much work.) A lot of sins any sane Perl programmer would advise against were freely committed in the PHP world in the name of convenience, and are only slowly being undone.

PHP is nice, sort of like shell scripts - so long as your task is miniscule, it is quite handy and can get the job done in record time. It isn't anything I'd like to build a complex application with however.

Makeshifts last the longest.

  • Comment on Re^3: mod_perl and shared environments don't mix - do they?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://211841]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2018-07-17 02:37 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (353 votes). Check out past polls.