Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Installing Modules through Web Interface?

by dwiz (Pilgrim)
on Jun 01, 2002 at 02:33 UTC ( [id://170875]=note: print w/replies, xml ) Need Help??


in reply to Installing Modules through Web Interface?

Have you tried the CPANPLUS module at all?
Perl.com article here. Main site here.
An idea might be to try and write a web based interface for the module.

-dwiz
  • Comment on Re: Installing Modules through Web Interface?

Replies are listed 'Best First'.
Re: Re: Installing Modules through Web Interface?
by Flame (Deacon) on Jun 01, 2002 at 10:33 UTC
    I know of CPANPLUS, however I also know it isn't part of the standard distrobution, so chances are, it's not installed...

    Please, expand on the 'web based interface for the module.'



    "Weird things happen, get used to it."

    Flame ~ Lead Programmer: GMS

      Ok my proposed solution isn't going to completely solve your problem, but I don't know that there is something that can. My solution also involves jumping through a few hoops.
      There is an interface to cpanplus called CPANPLUS::Backend.
      You would have to read the docs to find out how it all works. You could then write a cgi that would supply the necessary values to the backend module and then displays the info to the user for them to do the next step. There is also a interface to the config of the module although I think it needs to be set via the command line for the first time. You may be able to get around this though once again check the docs. If you then are one way to install the module would be using a non traditional method, (i.e. not using make) by just uploading it to a directory and then doing a use lib in your cgi (Probably not the best idea though). Your script would then use the module; do the config and prompt the user through the cgi as necessary. Alternately go through the process of having it installed properly first and the write your cgi without having to worry about the base config.It would take some setting up but I think it could be done.

      I know this solution has some holes and a few ifs but no telnet or ssh can restrict the options.
      My apologies for not having something better.


      -dwiz

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://170875]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-26 07:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found