bkiahg has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks,

I am in a position were I need/want to talk my boss into using perl on our production intranet. I've been doing some projects on our test servers (side note: which turned into prod servers for lack of wanting to put perl on the prod ones) and really enjoy Perl. This is a list I've put together so far that I'm going to submit to him, in order to get Perl installed to do some future projects. I thought I read a node on this here but a search yielded nothing. Btw, we running on a near entire windows network.

Any other reasons will be greatly appreciated.

Replies are listed 'Best First'.
Re: Perl vs. ASP?
by davidj (Priest) on Jun 09, 2004 at 22:09 UTC
    When it comes to the management types, it has been my experience that they have 4 basic concerns when it comes to adopting a different/new technology:

    1) cost - implementation, converting legacy code, etc.
    2) realiability - it is robust, proven, etc?
    3) security
    4) support - what support structures exist and how reliable are they?

    If you can make your arguments in terms of these concerns and demonstrate that activePerl is better than ASP, then you will probably have a winner.

    --david
Re: Perl vs. ASP?
by Errto (Vicar) on Jun 10, 2004 at 02:08 UTC

    I've considered making a similar proposal at my current outfit, and I would but for one thing: vast quantities of already-working ASP/VBScript code, and a team of developers who are Windows-heads, most of whom have never seen a line of Perl in their lives. They're all talented people, but this project is already too big and too critical for everybody to take time off and learn a new language.

    My main frustration at the moment is that while Perl has things like Template, and Java has JSP/JSTL/custom tag libraries, ASP (sans .NET) has bupkes. Thus writing a large project in ASP that is maintainable and modular, is essentially impossible. I haven't tried PerlScript, but I don't see how it could fix this fundamental problem inherent in ASP as a platform.

    Update: On second thought maybe I shouldn't be so pessimistic. The problem with ASP is that it gives you no modularity except through <!--#include ...-->. But with Perl you could simply create a set of modules that lives outside your web tree. In fact, you could even create one module per page, and have the ASP simply call the module for all the processing work, and constrain itself to simple output.

    Update: On third thought, Apache::ASP seems very cool. I would try it.

    OTOH I've been told that Apache does well on Windows, so you may want to look that way.

Re: Perl vs. ASP?
by EdwardG (Vicar) on Jun 09, 2004 at 22:12 UTC

    Perl and ASP are not mutually exclusive, if you don't mind working with PerlScript.

    PerlScript, which installs with ActivePerl, is suitable for the role as scripting language because it brings the power of Perl into the environment of ASP and there merges it with the services provided by ASP.

    See the documentation at Activestate

     

      There's also Apache::ASP, which I've been using for several years.
      ------------ :Wq Not an editor command: Wq
Re: Perl vs. ASP?
by SavannahLion (Pilgrim) on Jun 10, 2004 at 05:23 UTC
    I don't really have any valuable input to help you along on this. I found that most people in a position of power usually never listen to those who are actually doing the work. I've discovered that most of the advice I gave were never actually taken to heart. :-\

    What I can offer you is a little nugget. I would advise against the simple statement of, "Microsoft sucks." In a pinch it makes you look unprofessional. Pointy haired bosses like long, but simple explanations (counterintuitive). You mention that you get more support from PM than you do from MS. You could quantify that by saying something like, "Microsoft support will cost us money whereas the free support offered by Perl Monks is on par, if not better, than any paid support from Microsoft." Or something along those lines. Bosses like to lower their perceived costs and get the most bang for their buck.

    Be sure that you present true facts though. You mention UNIX, so he'll certainly know his stuff, if not verify your information.

    ----
    Thanks for your patience.
    Prove your knowledge @ HLPD

Re: Perl vs. ASP?
by inman (Curate) on Jun 10, 2004 at 12:34 UTC
    Have you described the alternate environment in which your Perl programs will live? Is it going to build on top of your existing infrastructure are are you requesting a bunch of UNIX boxes? The boss needs to know that one 'cos he isn't going to buy new hardware for the hell of it.

    Have you listed the set of software that you would want to deploy? Are we talking Apache/mod_perl or are you sticking with IIS? If you are trying something new, can you assure him that the software can be administered?

    Have you listed the positive points that your idea has over the alternate idea? Having done most of it is a plus point but is it prepared to the level where someone else can take over from you during the maintenance phase.

    In short, you need a business case and a strategy.

      It's essentially a rework of our current intranet. We'll be using the same box (2000, running IIS), so we won't have to order any new hardware.
        If you must run on Windows consider a performance booster like PerlEx from ActiveState.

        The breadth and quality of the perl modules have certainly impressed my ASP oriented co-workers. It's easy to stand on the shoulders of those who have gone before you.

        I also like to do the sysadmin work in perl. I find it more suitable and enjoyable than vbscript.