in reply to Objects and Exceptions sans CPAN

I was in a similar situation with a client a while ago. On several servers I built Perl 5.8.8 from source. Their network had no internet connectivity, though I could transfer files between networks via a USB memory stick and an uploader station. On my own network I used CPAN::Mini to create a local mirror. After some discussion with their Security team, the agreed to allow me to host this internally to their network. Given that you work for the company in question making them see sense in allowing you to do something similar shouldn't be a big issue. As you say you could copy and paste the source of a module from cpan, which in theory breaks their 'third party rule'.

In order to protect yourself from any potential disciplinary actions I think you should discuss such a course of action as detailed above.

Replies are listed 'Best First'.
Re^2: Objects and Exceptions sans CPAN
by Da_Lu (Acolyte) on Jan 13, 2010 at 10:39 UTC

    Haven't heard about CPAN::Mini, thanks for that.

    The problem isn't so much the approval process (shouldn't be too much of an issue), but the packaging process: I'd have to create packages for 2 operating systems (Linux and HP-UX), in different versions (3 each), on different platforms (4 in total), which IMO is too much overhead for one piece of software that's not even written yet. Thus my question for a simpler way.

    By the way, Error would have been perfect (pure Perl, 1 file, simple usage), if it weren't that its use is discouraged by the author.

      Did you look at Try::Tiny?


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

        Perfect for now! Small, source only, simple enough to pass our checks fast, and I can easily copy it into my namespace if needed. Thanks a lot!

      How many machines are you going to install this applcation on? Does each of them have perl installed? If so you could host your CPAN::Mini generated mirror internally and create a bundle of modules to be installed.

      Have you considered using PAR to package your application. It may be worth looking at PAR,PAR::Tutorial and pp.

        About 50 for now, maybe more if other functionality appears on the wish list. And yes, all of them have Perl installed.

        I'd have created a local mirror quite some time ago, if I had the privilege for downloading archive files on the proxy. But I don't, and it's easier to get external software approved than to get that privilege (not even my boss has it). But it's something that I'll recommend as soon as we have more than just a few modules used.