Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Perl cgi without mod_perl, your experience

by ajt (Prior)
on Jun 22, 2004 at 10:36 UTC ( #368662=note: print w/replies, xml ) Need Help??

in reply to Perl cgi without mod_perl, your experience

It's a little elderly, but this article on may offer some insight: "Building a Large-scale E-commerce Site with Apache and mod_perl".

CGI can run out of steam pretty quickly if you get all your hits at one go, if you have a low peak load, then it can cope quite easily, plus it's easier to work with and debug. While mod_Perl is different from plain CGI, it does force extra code disciplin, which is useful even if you never migrate from plain CGI to mod_Perl.

HTH, and good luck.

  • Comment on Re: Perl cgi without mod_perl, your experience

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://368662]
[ovedpo15]: another question about regex. if I have a string like this: "a/b/,c/d/e,5" I would like to remove the string after the last comma so the output will be "a/b/,c/d/e" how to do so?
[Corion]: ovedpo15: You could split on comma, and then join everything together, except the last part. Or you could match and make sure that the last part has no comma, like qr!,[^,]+$!, or you could use rindex.
[ovedpo15]: But I don't know the length of the string. will it still work?

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2018-05-27 10:32 GMT
Find Nodes?
    Voting Booth?