Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^2: Module::Build users -- please use the "traditional" create_makefile_pl option

by perrin (Chancellor)
on May 18, 2005 at 17:21 UTC ( #458322=note: print w/replies, xml ) Need Help??

in reply to Re: Module::Build users -- please use the "traditional" create_makefile_pl option
in thread Module::Build users -- please use the "traditional" create_makefile_pl option

It has nice features for module authors that help with running tests and making a dist. Why are these in an installation module? I don't know.

There is an explanation about the PREFIX problem in the docs, but it amounts to "PREFIX doesn't always work, so no effort will be made to be compatible with it." In my opinion this is a cop-out, since PREFIX usually does work and compatibility for the common case shouldn't be that hard.

  • Comment on Re^2: Module::Build users -- please use the "traditional" create_makefile_pl option

Replies are listed 'Best First'.
Re^3: Module::Build users -- please use the "traditional" create_makefile_pl option
by brian_d_foy (Abbot) on May 18, 2005 at 17:39 UTC

    I've never had anyone actually show me a situation where PREFIX failed, and I've helped a lot of people install a lot of modules all over the world.

    I pretty much depend on PREFIX to do the right thing for all of my modules, and I've never had a complaint about it, either from my public modules or the private things I deliver to clients.

    Has anyone experienced a situation where PREFIX didn't do anything or did the wrong thing? What were the details of the set-up? Is the frequency of this on the order or neutrino interactions with other matter?

    brian d foy <>
      In fairness, PREFIX works as long as you don't mess with any of the dependent values (bin, lib, man), or as long as you keep them definitely below the PREFIX. The brokenness that people occasionally experience is when they want /usr/local/bin, /usr/local/lib, but then /usr/man/manl. If they set that up, then set PREFIX, there's no common PREFIX to those and things get dicey.

      -- Randal L. Schwartz, Perl hacker
      Be sure to read my standard disclaimer if this is a reply.

        I don't really buy that. We don't have to satisfy every possible installation requirement in PREFIX. We document what it does, and we leave it at that. It sets the root directory. You only get to do that once. Whatever you set is what you get. As for it's actual effect between MakeMaker versions 5.x and 6.x, who's fault is that, eh? :)

        If the documented PREFIX doesn't work for you, you don't use PREFIX. However, it works for a lot of people who aren't so picky about such things.

        One of the key talents in a software developer is knowing when to stop letting the user have flexibility. That's one way to make code much simpler: just say "You can't use this for everything".

        brian d foy <>

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://458322]
[choroba]: Morning!
[Corion]: Hi choroba, Discipulus!
[Corion]: Yesterday I've been mulling over how to best generate HTTP requests from permutations of values but I haven't found a nice API for passing in the "template" of the HTTP request yet. I guess I'll have to do a SoPW for that
[Corion]: The API itself will basically be my $iter = generate_http_requ ests(method => 'GET', url => '/settings/:name', headers => ???, get_params => ['foo','bar']), but I'm not sure how to parametrize values in the headers and how to specify lists of ...
[choroba]: On the other hand, lots of options to receive the requests :-)
[Corion]: ... values to be used. For example, I think for headers, one would want to have various kinds of Content-Encoding headers, but for the get_parameters one would have various kinds of Bobby Tables
[choroba]: What about [metadoc:// Algorithm::Loops]?
[Corion]: choroba: Yeah, but handing off the request to Dancer,Plack, Mojolicious,LWP is easy once I have the data filled into some structure ;))
[choroba]: Algorithm::Loops
[Corion]: choroba: I'm using that to generate the permutations, but I don't know how the user can pass the intended values to my function in a sane way

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2017-01-17 08:16 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (152 votes). Check out past polls.