Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Names and ideas for new CPAN modules

by cmac (Monk)
on Mar 15, 2010 at 17:19 UTC ( #828734=perlquestion: print w/replies, xml ) Need Help??
cmac has asked for the wisdom of the Perl Monks concerning the following question:

I'm planning two new CPAN modules if you folks agree they're OK things to do.

Someone got excited when I mentioned and posted some WPAD code on a forum a week or two ago, so it may be worthwhile to post it as a module. The second name should probably be WPAD, but what category does it belong in? HTTP::WPAD? IP::WPAD? Proxy::WPAD? Module::WPAD?

For reference:

The other module would wrap or subclass (or one of them modern programming words) LWP::UserAgent with everything we can think of to automatically handle proxies. The target use would be module makers who want to get things from the Internet, but who can't know users' environments and don't want to burden their users with setup details.

Included would be
* environment variables
* the WPAD module above
* HTTP::ProxyPAC (newly improved)
* MSIE proxy info, as in LWP::UserAgent::ProxyAny (either use or borrow from that module)
* searching for browser .pac files
* a shell user/password dialog (which someone like Gisle Aas put in a sample app but has not been much used)

It could also include, if someone can help with them:
* Windows dialog box
* Mac OS X dialog box
* X11 dialog box

Please reply with your ideas, and also alternatives to the working name LWP::UA::AutoProxy.


Feel free to move this from SOPW to whatever category is more appropriate.

Replies are listed 'Best First'.
Re: Names and ideas for new CPAN modules
by almut (Canon) on Mar 15, 2010 at 17:57 UTC

    As for the first module, I'd vote for Proxy::WPAD, followed by HTTP::WPAD, or maybe WWW::WPAD. Those are the categories where I personally would look first for such things.  IP:: seems a little too generic and low-level to me, and I think Module:: is just the wrong category.  Just my 2 cents.

Re: Names and ideas for new CPAN modules
by jethro (Monsignor) on Mar 15, 2010 at 17:51 UTC
    Sounds interesting, but I wouldn't put the code for dialogs and dialog boxes into the second module. Maybe create a third module with those additions or one additional module per input method. Or leave that to the application creator and only provide a function to deliver username/password into the module.

      Thanks for replying.

      The module that I want to use AutoProxy in wants it to have a basic (Unix shell) dialog. That dialog will almost certainly be replaceable by a GUI dialog box by wrapping/subclassing LWP::UA::AutoProxy (or whatever it ends up being called).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://828734]
Approved by Corion
Front-paged by Corion
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2018-08-16 07:52 GMT
Find Nodes?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:

    Results (167 votes). Check out past polls.