Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Re^2: Mod Perl Usage on Virtual hosted domains

by crazyinsomniac (Prior)
on Oct 20, 2002 at 16:56 UTC ( #206672=note: print w/replies, xml ) Need Help??

in reply to Re^2: Mod Perl Usage on Virtual hosted domains
in thread Mod Perl Usage on Virtual hosted domains

Perhaps because it isn't really, or only in a limited fashion (with lots of "extensions" disabled, giving only a very lite version of php)?

I doubt they're being more clever, it's just that their product/language is lots simpler.

I will now quote

Description              Perl  PHP

Namespace management     Y    N 
File-scope globals       Y    N 
Regular expressions      Y    Y 

OOP support              Y    N(2)
Run time code mutability Y    Y   
Extensive lib collection Y    Y(4)

Closures                 Y    N   
anonymous subroutines    Y    N   
automatic code creation  Y    N   

 (2) PHP support for objects is not much different than C++ support for
 (4) Not quite extensive, but it's getting there - PEAR is only a year or
     so old.

Since there is no way in perl to prevent a program from modifying `import' among other things, you can't share a perl process among different users.

Also, perl's regex engine is a "beast", and there exist some race conditions (sorry, I don't got a link handy to a discussion), and PHP just uses PCRE, which is Perl Compatible RE, but not quite Perl re ( and lots of features in the current perl re engine are **experimental**)

Of all the things I've lost, I miss my mind the most.
perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"

  • Comment on Re: Re^2: Mod Perl Usage on Virtual hosted domains

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2022-10-05 16:34 GMT
Find Nodes?
    Voting Booth?
    My preferred way to holiday/vacation is:

    Results (24 votes). Check out past polls.