By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,950 Members | 1,579 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,950 IT Pros & Developers. It's quick & easy.

object oriented perl and Mod Perl

P: 1
Hi There,

My name is Uma and I am a technical recruiter. I have an opportunity in San Francisco which requires the candidate to be an expert at "Object Oriented Perl". I need to know if Mod Perl and Object oriented Perl are the same.

I would appreciate any insight from your end.

Thanks,
Uma
Dec 19 '06 #1
Share this Question
Share on Google+
2 Replies


miller
Expert 100+
P: 1,089
I need to know if Mod Perl and Object oriented Perl are the same.
No. They refer to different things

Mod Perl is an environment built on top of apache to run pre-compiled perl code for the web. http://perl.apache.org/

OO Perl is simply a programming style, that can easily be adapted by someone working in mod_perl, but is not a requirement. However, OO in perl is extremely easy to do, and does not require a large learning curve by anyone familiar with object oriented programming in other languages.
Dec 20 '06 #2

P: 21
Hi There,

My name is Uma and I am a technical recruiter. I have an opportunity in San Francisco which requires the candidate to be an expert at "Object Oriented Perl". I need to know if Mod Perl and Object oriented Perl are the same.

I would appreciate any insight from your end.

Thanks,
Uma
Ok to expand on that...OO in perl is perls method to simulate object creation...similar to what happens in c++ and java. its got nothing to do with mod_perl. These days most ppl write thier code in OO fashion so u may look at mod_perl and think of it as OO but its not..... OO is a programming method and mod_perl is apache specific ad on.

Mod perl does 2 things- if u are using CGI scripts to host a website each time the cgi script is called the perl interpreter is loaded to the memory and unloaded when done...so lot of swapping happens.. to avoid this what mod_perl does is it integrates apache+perl into one unit... so when apache is running perl is too... so by default perl interpreter is in memory so no time consuming swaps happen.

This is basic mod_per functionality.. a little more indepth will take u to apache registry where in ur web pages are cached and not created each time...

hope it helped
geek491
Dec 20 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.