Skip Menu |

This queue is for tickets about the Module-Install CPAN distribution.

Report information
The Basics
Id: 29216
Status: rejected
Priority: 0/
Queue: Module-Install

People
Owner: Nobody in particular
Requestors: ashley [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Feature request: some kind of prompt_script which asks for PATH
I would love to use Module::Install for distributing small web apps and CGIs. If it could prompt for the path to place the script, it would be perfect for this as well as modules. Perhaps nice if there were just a general mechanism for prompts? If this is already in there somehow and just not on the top of the docs, I apologize. I'd love to see it in the POD if it does already exist. Thank you for the great stuff already here! -Ashley
Subject: Re: [rt.cpan.org #29216] Feature request: some kind of prompt_script which asks for PATH
Date: Fri, 7 Sep 2007 17:11:34 +1000
To: bug-Module-Install [...] rt.cpan.org
From: "Adam Kennedy" <adamkennedybackup [...] gmail.com>
Anything that asks the user for information is inherently wrong. Personally, I would install the CGI application to the system directories and then add a seperate little setup tool to copy/link the script/modules into the CGI directory. That way you can even run it multiple times to install it to multiple places. Adam K On 07/09/07, via RT <bug-Module-Install@rt.cpan.org> wrote: Show quoted text
> > > Fri Sep 07 00:53:02 2007: Request 29216 was acted upon. > Transaction: Ticket created by ASHLEY > Queue: Module-Install > Subject: Feature request: some kind of prompt_script which asks for > PATH > Broken in: (no value) > Severity: Wishlist > Owner: Nobody > Requestors: ASHLEY@cpan.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=29216 > > > > I would love to use Module::Install for distributing small web apps and > CGIs. If it could prompt for the path to place the script, it would be > perfect for this as well as modules. Perhaps nice if there were just a > general mechanism for prompts? > > If this is already in there somehow and just not on the top of the docs, > I apologize. I'd love to see it in the POD if it does already exist. > > Thank you for the great stuff already here! > > -Ashley > >
That does seem like it might be better (the linking to deeper, common installation). Do you plan on removing the current prompt_script function in future versions? On Fri Sep 07 03:12:17 2007, adamkennedybackup@gmail.com wrote: Show quoted text
> Anything that asks the user for information is inherently wrong. > > Personally, I would install the CGI application to the system directories > and then add a seperate little setup tool to copy/link the script/modules > into the CGI directory. > > That way you can even run it multiple times to install it to multiple > places. > > Adam K > > On 07/09/07, via RT <bug-Module-Install@rt.cpan.org> wrote:
> > > > > > Fri Sep 07 00:53:02 2007: Request 29216 was acted upon. > > Transaction: Ticket created by ASHLEY > > Queue: Module-Install > > Subject: Feature request: some kind of prompt_script which asks for > > PATH > > Broken in: (no value) > > Severity: Wishlist > > Owner: Nobody > > Requestors: ASHLEY@cpan.org > > Status: new > > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=29216 > > > > > > > I would love to use Module::Install for distributing small web apps and > > CGIs. If it could prompt for the path to place the script, it would be > > perfect for this as well as modules. Perhaps nice if there were just a > > general mechanism for prompts? > > > > If this is already in there somehow and just not on the top of the docs, > > I apologize. I'd love to see it in the POD if it does already exist. > > > > Thank you for the great stuff already here! > > > > -Ashley > > > >
Subject: Re: [rt.cpan.org #29216] Feature request: some kind of prompt_script which asks for PATH
Date: Sun, 9 Sep 2007 13:48:33 +1000
To: bug-Module-Install [...] rt.cpan.org
From: "Adam Kennedy" <adamkennedybackup [...] gmail.com>
Even though it's bad, there's still occasions when the module cannot be installed at all without user input, or OPTIONAL input can be used to enhance the installation process. It is wroth keeping for these cases. On 08/09/2007, via RT <bug-Module-Install@rt.cpan.org> wrote: Show quoted text
> > > Queue: Module-Install > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=29216 > > > That does seem like it might be better (the linking to deeper, common > installation). Do you plan on removing the current prompt_script > function in future versions? > > On Fri Sep 07 03:12:17 2007, adamkennedybackup@gmail.com wrote:
> > Anything that asks the user for information is inherently wrong. > > > > Personally, I would install the CGI application to the system
> directories
> > and then add a seperate little setup tool to copy/link the
> script/modules
> > into the CGI directory. > > > > That way you can even run it multiple times to install it to multiple > > places. > > > > Adam K > > > > On 07/09/07, via RT <bug-Module-Install@rt.cpan.org> wrote:
> > > > > > > > > Fri Sep 07 00:53:02 2007: Request 29216 was acted upon. > > > Transaction: Ticket created by ASHLEY > > > Queue: Module-Install > > > Subject: Feature request: some kind of prompt_script which asks
> for
> > > PATH > > > Broken in: (no value) > > > Severity: Wishlist > > > Owner: Nobody > > > Requestors: ASHLEY@cpan.org > > > Status: new > > > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=29216 > > > > > > > > > > I would love to use Module::Install for distributing small web apps
> and
> > > CGIs. If it could prompt for the path to place the script, it would be > > > perfect for this as well as modules. Perhaps nice if there were just a > > > general mechanism for prompts? > > > > > > If this is already in there somehow and just not on the top of the
> docs,
> > > I apologize. I'd love to see it in the POD if it does already exist. > > > > > > Thank you for the great stuff already here! > > > > > > -Ashley > > > > > >
> > > >
Closed this ticket as "prompt_script()" was removed in 0.72, saying "it did some unusual magic and it easy enough to replace with 2 lines of code in the Makefile.PL of anyone using it anyway (ADAMK)". I understand what Adam said, and I agree with him, but I also want to note that you can always add extra commands by writing a plugin. Thanks. - K