in reply to Re: Objects and Exceptions sans CPAN
in thread Objects and Exceptions sans CPAN

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.

Replies are listed 'Best First'.
Re^3: Objects and Exceptions sans CPAN
by BrowserUk (Patriarch) on Jan 13, 2010 at 10:49 UTC

    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!

Re^3: Objects and Exceptions sans CPAN
by marto (Cardinal) on Jan 13, 2010 at 10:48 UTC

    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.