Re: Apache 2.2, perl 5.10, Windows XP, Apache-DBI-cache

2009-03-23 Thread Randy Kobes
On Mon, Mar 23, 2009 at 4:20 PM, andynic wrote: > > Hi, > > I have installed on my Windows XP computer: > Apache 2.2 > Perl 5.10, > mod_perl 2 > MySql 5.10. > > I would like to write a cgi script using a persistent database connection. > I have read that I need > For database persistent connection

Re: decline and fall of modperl?

2009-03-23 Thread Dan Stephenson
On Mon, 23 Mar 2009 22:26:10 -0400, Mike Bourdon wrote: I would be more than happy to share my insights as it relates to the "job" / "candidate" market conditions.   If there are enough affirmative replies I will in the near future  post a more detailed dissertation.   If not, I will con

Re: decline and fall of modperl?

2009-03-23 Thread Marilyn Burgess
>From a fellow lurker to another, I would be interested in reading your perspective. - Marilyn On Mon, Mar 23, 2009 at 7:26 PM, Mike Bourdon wrote: > Very interesting topic, byline and responses. > > For the last 5 years I have been Perl recruiter (24 years overall as a > technical headhunter)

Re: decline and fall of modperl?

2009-03-23 Thread Mike Bourdon
Very interesting topic, byline and responses.   For the last 5 years I have been Perl recruiter (24 years overall as a technical headhunter) based out of Southern Ca.   Many on this list have talked/worked with me, most however would not recognize this screen name.   I would be more than happy t

Re: decline and fall of modperl?

2009-03-23 Thread Foo JH
Perrin Harkins wrote: > On Mon, Mar 23, 2009 at 11:30 AM, Octavian Râsnita wrote: ...and in most parts of the >> world it is hard to find competent perl programmers. > > ...The job > listings for Perl are strong. They're huge compared to those for > Ruby. Of course Java is massively more popula

Re: decline and fall of modperl?

2009-03-23 Thread Alexandr Ciornii
Hi. Filter::Crypto on CPAN. It even works with PAR. And it is free. 2009/3/23 Octavian Râsnita : > Can I encrypt some .pm modules in such a way that they couldn't be decrypted > easier than the PHP files encrypted by Zend Encoder? > If yes, please tell us how, because it would be a really import

Re: decline and fall of modperl?

2009-03-23 Thread Perl Junkie
Alexandr Ciornii wrote: Hi. It possible to encrypt perl sources with same safety as with PHP - with possibility of source decryption. But Perl developers are in general more advanced than PHP developers so they know how to decrypt it, in contrast to PHP developers that do not know that encrypted

Re: decline and fall of modperl?

2009-03-23 Thread Perl Junkie
Byrne Reese wrote: The problem is that there are no very many big sites that use perl either. I knew that Amazon used Perl, than tried to use Java, than... I don't know what they use now. Google uses Python, Yahoo uses PHP, Microsoft probably uses DotNet and Sun probably uses Java. I will add

Re: decline and fall of modperl?

2009-03-23 Thread Byrne Reese
Do you know other sites that don't use Movable Type? :-) Not as extensively. :) But even if we talk about Movable Type... I've seen that WordPress is known much better than MovableType. Gues why. MovableType has much more features than WordPress, however WordPress is better known. Maybe b

Re: decline and fall of modperl?

2009-03-23 Thread Elizabeth Mattijsen
At 11:34 PM +0200 3/23/09, Octavian Râsnita wrote: From: "Byrne Reese" The problem is that there are no very many big sites that use perl either. I knew that Amazon used Perl, than tried to use Java, than... I don't know what they use now. Google uses Python, Yahoo uses PHP, Microsoft proba

Re: decline and fall of modperl?

2009-03-23 Thread Octavian Râsnita
From: "Perrin Harkins" The original poster asked for help winning a contract that he wants to use Perl for. So far, you're not contributing. - Perrin I presented more advantages of perl, in one of my previous message so I contributed, but I don't like to hear that Perl is everywhere and hear

Apache 2.2, perl 5.10, Windows XP, Apache-DBI-cache

2009-03-23 Thread andynic
Hi, I have installed on my Windows XP computer: Apache 2.2 Perl 5.10, mod_perl 2 MySql 5.10. I would like to write a cgi script using a persistent database connection. I have read that I need For database persistent connections: http://cpan.uwinnipeg.ca/dist/Apache-DBI-Cache There I find down

Re: decline and fall of modperl?

2009-03-23 Thread Octavian Râsnita
From: "Alexandr Ciornii" Hi. It possible to encrypt perl sources with same safety as with PHP - with possibility of source decryption. But Perl developers are in general more advanced than PHP developers so they know how to decrypt it, in contrast to PHP developers that do not know that encrypt

Re: decline and fall of modperl?

2009-03-23 Thread Octavian Râsnita
From: "Byrne Reese" The problem is that there are no very many big sites that use perl either. I knew that Amazon used Perl, than tried to use Java, than... I don't know what they use now. Google uses Python, Yahoo uses PHP, Microsoft probably uses DotNet and Sun probably uses Java. I will

Re: decline and fall of modperl?

2009-03-23 Thread Doug Sims
I believe Craigslist and Slashdot are both entirely done in perl/mod_perl. On Mon, Mar 23, 2009 at 2:49 PM, Dan Stephenson wrote: > On Mon, 23 Mar 2009 15:16:59 -0400, Byrne Reese > wrote: > > I will add: >> >> * LiveJournal >> * TypePad >> * Vox >> * Popular MT sites like: >> - Huffington

Re: decline and fall of modperl?

2009-03-23 Thread Alexandr Ciornii
Hi. It possible to encrypt perl sources with same safety as with PHP - with possibility of source decryption. But Perl developers are in general more advanced than PHP developers so they know how to decrypt it, in contrast to PHP developers that do not know that encrypted PHP sources can easily be

Re: decline and fall of modperl?

2009-03-23 Thread Dan Stephenson
On Mon, 23 Mar 2009 15:16:59 -0400, Byrne Reese wrote: I will add: * LiveJournal * TypePad * Vox * Popular MT sites like: - Huffington Post - Gothamist - Talking Points Memo - many, many, many more of course Let's not forget ticketmaster... of which many mod_perl developers hav

Re: decline and fall of modperl?

2009-03-23 Thread Perrin Harkins
On Mon, Mar 23, 2009 at 3:07 PM, Octavian Râsnita wrote: > I knew that Amazon used Perl, than tried to use Java, than... I don't know > what they use now. Please stop with the FUD! Amazon uses Perl for their front-end development. Check their job ads. > Google uses Python, Yahoo uses PHP, Micr

Re: decline and fall of modperl?

2009-03-23 Thread Gunther
> Alright, I don't want to quibble, but I would question any conclusions > you can draw from the numbers based upon the sole fact that it is > based upon how developer self-identify. > Every language has it's own sub-languages or frameworks that they identify themselves as. So I suspect the statist

Re: decline and fall of modperl?

2009-03-23 Thread Byrne Reese
The problem is that there are no very many big sites that use perl either. I knew that Amazon used Perl, than tried to use Java, than... I don't know what they use now. Google uses Python, Yahoo uses PHP, Microsoft probably uses DotNet and Sun probably uses Java. I will add: * LiveJournal

Re: decline and fall of modperl?

2009-03-23 Thread Adam Prime
Hire Dave Rolsky (who wrote the Mason book, and maintains HTML-Mason), he's apparently looking for work: http://blog.urth.org/2009/03/need-a-programmer.html You'll be hard pressed to find anyone more competent, but he might want to re-implement the whole system, you never know... Adam

Re: decline and fall of modperl?

2009-03-23 Thread Octavian Râsnita
From: "Byrne Reese" It amazes me that this entire thread neglects to mention PHP. Granted, it started with a discussion about web frameworks, for which PHP does not have a strong footing, unless of course you count Drupal and Wordpress and the like among such "frameworks." But still, PHP canno

Re: who's putting that tag in the output...?

2009-03-23 Thread Torsten Foertsch
On Mon 23 Mar 2009, Iosif Fettich wrote: > Using the (obvious...!) REDIRECT_URL as you suggested works! :) An ErrorDocument is an internal redirect. These REDIRECT_... environment variables are copied from the previous ($r->prev) request's $r->subprocess_env just by copying everything and prepen

Re: decline and fall of modperl?

2009-03-23 Thread Byrne Reese
Alright, I don't want to quibble, but I would question any conclusions you can draw from the numbers based upon the sole fact that it is based upon how developer self-identify. I know that Wordpress and Drupal freelancers do not position themselves as PHP programmers, but rather WordPress a

Re: decline and fall of modperl?

2009-03-23 Thread Lupe Christoph
On Monday, 2009-03-23 at 10:54:59 -0700, Byrne Reese wrote: > It amazes me that this entire thread neglects to mention PHP. OK, I'll add PHP... Figures from the German freelancer market, Gulp (www.gulp.de): CVs (called profiles, a total of 60823 are available) with: Perl 5470 Ruby 234 Java 11

Re: who's putting that tag in the output...?

2009-03-23 Thread Iosif Fettich
Hi Torsten, just following up my previous message: [...] REDIRECT_URL=/404.xxx GATEWAY_INTERFACE=CGI/1.1 [...] (Nothing like REDIRECT_URI). Using the (obvious...!) REDIRECT_URL as you suggested works! :) I think there's just a new member in the 'Torsten, you're the greatest!' club ;) Man

Re: who's putting that tag in the output...?

2009-03-23 Thread Iosif Fettich
Hi Torsten, ? It seems to work fine for the subrequest (status=200) ...? This is exactly the problem. The 404 is normally generated in the response phase from the default response handler. The subreq lookup won't check that. It does not run the subreq but only checks if after fixup there is

Re: decline and fall of modperl?

2009-03-23 Thread Byrne Reese
It amazes me that this entire thread neglects to mention PHP. Granted, it started with a discussion about web frameworks, for which PHP does not have a strong footing, unless of course you count Drupal and Wordpress and the like among such "frameworks." But still, PHP cannot and should not

Re: decline and fall of modperl?

2009-03-23 Thread Octavian Râsnita
From: "David Ihnen" The new version of perl in the works is going to change that. I fully expect perl to become far more interesting to the programming community with that upgrade. Perl will move from the old one to the latest one, and then it WILL be a buzzword again. Least, thats what I

Re: decline and fall of modperl?

2009-03-23 Thread David Ihnen
Louis-David Mitterrand wrote: Hi and sorry for the provocative title of my post :) What better way to get a response? What you have is better than what you don't, so sticking with a tech you already have is often the most pragmatic path. I agree with the others, in that if the company hir

to the mailing list admin

2009-03-23 Thread Torsten Foertsch
Hi, each of my last mailings to the list was answered by the following failure notice: - The following message to was undeliverable. The reason for the problem: 5.1.0 - Unknown address error 550-'5.7.1 ... Access denied' --

Re: who's putting that tag in the output...?

2009-03-23 Thread Torsten Foertsch
On Mon 23 Mar 2009, Iosif Fettich wrote: > Or is the [P]roxy flag not working as it should or as I expect it to > ? It seems to work fine for the subrequest (status=200) ...? This is exactly the problem. The 404 is normally generated in the response phase from the default response handler. The su

Re: decline and fall of modperl?

2009-03-23 Thread Lupe Christoph
On Monday, 2009-03-23 at 11:55:46 -0400, Perrin Harkins wrote: > On Mon, Mar 23, 2009 at 11:30 AM, Octavian Râsnita wrote: > > This is true. Less and less programmers use perl, and in most parts of the > > world it is hard to find competent perl programmers. > Unless you have some evidence of thi

Re: who's putting that tag in the output...?

2009-03-23 Thread Iosif Fettich
Hi Torsten, On Mon, 23 Mar 2009, Torsten Foertsch wrote: On Mon 23 Mar 2009, Iosif Fettich wrote: So it seems to be very, very easy. Still, when using the above receipt like      RewriteEngine on      RewriteCond   %{REQUEST_URI}   !-U      RewriteRule   ^\/(.+)          http://OLDDOMAIN.COM/$

Re: who's putting that tag in the output...?

2009-03-23 Thread Torsten Foertsch
On Mon 23 Mar 2009, Iosif Fettich wrote: > So it seems to be very, very easy. Still, when using the above > receipt like >      RewriteEngine on >      RewriteCond   %{REQUEST_URI}   !-U >      RewriteRule   ^\/(.+)          http://OLDDOMAIN.COM/$1 [QSA,P] The engine tries to resolve the request u

Re: decline and fall of modperl?

2009-03-23 Thread Perrin Harkins
On Mon, Mar 23, 2009 at 11:30 AM, Octavian Râsnita wrote: > This is true. Less and less programmers use perl, and in most parts of the > world it is hard to find competent perl programmers. Unless you have some evidence of this, stop spreading FUD. The job listings for Perl are strong. They're

Re: decline and fall of modperl?

2009-03-23 Thread Octavian Râsnita
On Mon, Mar 23, 2009 at 9:07 AM, Louis-David Mitterrand wrote: One of our customers is doing a detailed review of a mason/modperl ERP app we've built for them since 2001. Prodded by some buzzword-compliant consultants they are expressing concerns that the app's underlying technologies - perl,

Re: who's putting that tag in the output...?

2009-03-23 Thread Iosif Fettich
Hi Perrin, I'm just not aware yet that I could check the outcome of a subrequest and put some proxied response in place if the subrequest is unsuccessful. Isn't mod-rewrite just a _request_ rewrite ? It can do just about anything: http://httpd.apache.org/docs/1.3/misc/rewriteguide.html Looks

Re: decline and fall of modperl?

2009-03-23 Thread Perrin Harkins
On Mon, Mar 23, 2009 at 9:07 AM, Louis-David Mitterrand wrote: > One of our customers is doing a detailed review of a mason/modperl ERP > app we've built for them since 2001. Prodded by some buzzword-compliant > consultants they are expressing concerns that the app's underlying > technologies - pe

decline and fall of modperl?

2009-03-23 Thread Louis-David Mitterrand
Hi and sorry for the provocative title of my post :) One of our customers is doing a detailed review of a mason/modperl ERP app we've built for them since 2001. Prodded by some buzzword-compliant consultants they are expressing concerns that the app's underlying technologies - perl, modperl and ma

Re: who's putting that tag in the output...?

2009-03-23 Thread André Warnier
Perrin Harkins wrote: On Mon, Mar 23, 2009 at 7:14 AM, Iosif Fettich wrote: I've ommited printing headers explicitely :( HTTP won't work without headers. Have to see when and how I should do this; simply inserting a $r->content_type( 'text/html' ); before my $r->print( $content ); seems

[GENERIC] Note to posters

2009-03-23 Thread André Warnier
Please note that this list does not automatically set the "reply-to" header. That means that when you just hit "reply", chances are you are posting to the previous poster personally, not to the list. I personally find this a bit of an annoyance, but the listmasters may have their reasons for

Re: who's putting that tag in the output...?

2009-03-23 Thread Perrin Harkins
On Mon, Mar 23, 2009 at 7:14 AM, Iosif Fettich wrote: > I've ommited printing headers explicitely :( HTTP won't work without headers. > Have to see when and how I should do this; simply inserting a > > $r->content_type( 'text/html' ); > > before my > > $r->print( $content ); > > seems to be a NO

Re: who's putting that tag in the output...?

2009-03-23 Thread Iosif Fettich
Hi Perrin, I don't see you printing any content type or other headers. Those aren't in $response->content. I've ommited printing headers explicitely :( Have to see when and how I should do this; simply inserting a $r->content_type( 'text/html' ); before my $r->print( $content ); seems to

Re: who's putting that tag in the output...?

2009-03-23 Thread Perrin Harkins
On Mon, Mar 23, 2009 at 4:10 AM, Iosif Fettich wrote: > The problem is that what I want to be the handler's proxied response is > actual embedded instead in an construct like > > > > > > ... > > > > > > which I seem not to be able to get rid of. What am I doing wrong..? I don't see you pri

Re: who's putting that tag in the output...?

2009-03-23 Thread Iosif Fettich
Hi André, I have not looked at your code in detail, but in general : there is nothing in Apache or mod_perl that will automatically and magically wrap any response in any html tag sequence. I think/suppose so - that's why I'm getting nervuous about not being able to see where this comes from

Re: strange mod_deflate behaviour on binary output

2009-03-23 Thread Louis-David Mitterrand
On Sun, Mar 22, 2009 at 09:23:49PM -0400, Philippe M. Chiasson wrote: > On 22/3/09 15:25, Louis-David Mitterrand wrote: > > Hi, > > > > I noticed something interesting with mod_deflate when serving binary > > content from a mason component: > > > > <%init> > > $m->clear_buffer(); > >

Re: mod_perl backward compatibility

2009-03-23 Thread André Warnier
andynic wrote: Hi, I'm a newbie to much of this. I have Apache 2.2 and Perl 5.10 on my Windows XP computer. I have developed a number of perl scripts using CGI and DBI. I am tempted to try mod_perl so that I can achieve a persistent db connection. My concern is that my existing CGI code will no

Re: who's putting that tag in the output...?

2009-03-23 Thread André Warnier
Iosif Fettich wrote: [...] Hi. I have not looked at your code in detail, but in general : there is nothing in Apache or mod_perl that will automatically and magically wrap any response in any html tag sequence. So the only reasonable explanation, is that it is your back-end server which generat

Re: strange mod_deflate behaviour on binary output

2009-03-23 Thread André Warnier
Philippe M. Chiasson wrote: On 22/3/09 15:25, Louis-David Mitterrand wrote: [...] Hi. There was a thread here some time in the past (late 2008 ?) between Torsten Foetsch and myself, talking about overriding this Content-Type header. As I recall, this particular header is somewhat special, beca

mod_perl backward compatibility

2009-03-23 Thread andynic
Hi, I'm a newbie to much of this. I have Apache 2.2 and Perl 5.10 on my Windows XP computer. I have developed a number of perl scripts using CGI and DBI. I am tempted to try mod_perl so that I can achieve a persistent db connection. My concern is that my existing CGI code will no longer work. Is

who's putting that tag in the output...?

2009-03-23 Thread Iosif Fettich
Dear all, as I'm still making no progress in finding what's up, I thought I'll try to ask for some help. I wrote a little PerlResponse header, like - package Apache::Default_to_OLD; use strict; use warnings; use Apache2::Const -compile => qw(OK DECLINED); use Apache2::RequestRec ();