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

I am finding a use for a relocatable perl on HP-UX. I have looked at supersearch, found the announcement that TPF approved a grant to implement relocation in Feb 2006.

I am curious as to the status of this. Is there any update page that I can look at to find details?

Thanks all.

Update: Specifically, I am looking for 5.8.8 :). A piece of info that might be useful.

--MidLifeXis

Replies are listed 'Best First'.
Re: Relocatable perl status
by cmeyer (Pilgrim) on Nov 02, 2006 at 19:55 UTC

    The work for a relocatable perl binary is being done in blead (5.9.x), which means that the stable release will be 5.10.0 (which I'm guessing will be release within a couple few months).

    -Colin.

    WHITEPAGES.COM | INC

Re: Relocatable perl status
by Bill_N1VUX (Initiate) on Nov 03, 2006 at 04:15 UTC
    I too was thrilled to hear about this grant. With each application using DBI being advised by no less than Tim Bunce to build it's own Perl, relocatable Perl's for dev=>test=>production staged deployment are a very good thing. I'd earlier been given hopes of relocatibility being added in 5.8.x, but it slipped onto the 5.10 wish-list. The grant now means it should be in 5.10. I don't really want to be building 5.9 for production use, so I guess I'll have to wait for the real thing.

    There are several options in the meantime however. One might even be supported. One is evil, tacky, and likely to break, and another is evil but works with care.

    One warning about relocating Perl to an application specific directory - if your users are in the habit of using #!'s magic to run their scripts as unix commands, they may be in for a surprise. Either they have to patch the
    #! ##WHEREAMI##/bin/perl -w on every deployment, or switch to
    #! /usr/bin/env perl -w to force consultation of $PATH, or switch to invoking their scripts explicity as
      perl scriptname in which case they can use just
    #! perl -w