Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: My preferred way of handling config data in Perl is:

by Nkuvu (Priest)
on Dec 14, 2006 at 17:41 UTC ( #589878=note: print w/replies, xml ) Need Help??


in reply to My preferred way of handling config data in Perl is:

I ask the user. Every single time.

Sure, it's repetitive, and yes, the users get frustrated, but it's so fun to ask them the same questions every time (with confirmation for each question). The best part is when I ask for configuration options that my scripts don't use. ("Enter the distance from the Earth to the sun, in centimeters: ")

Or maybe I just use text files -- but that's a less interesting answer, so...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://589878]
help
Chatterbox?
[Corion]: usemodperl: No, asking is not unreasonable. Insisting that it must always keep working for you is unreasonable.
[Corion]: But again, you haven't explained why your users need to download, or why they need to download via http, or why you can't host the SSL-stripper yourself.
[choroba]: Wait a second. Does shutting down search.cpan.org mean the cpan clients can no longer use their urllist?
[usemodperl]: i'm under no obligation to explain myself mommy, and i'm not insisting, just asking a simple question
[Veltro]: So, I'm confused on the matter actually. There are locked-down computers, but they need updates. How does that work? Isn't that contradictary?
[usemodperl]: EXACTLY
[usemodperl]: and the https only situation makes it even worse
[Veltro]: How is that 'exactly'. Locked-down means you don't change or update. So why do you need to access CPAN?
[Corion]: choroba: Heh - I think that's an interesting situation - you can't bootstrap a vanilla Perl then via CPAN, as IO::Socket::SSL is not in core, but also can't be installed from a cpan client. You need a wget/curl with SSL built-in to do that :)
[usemodperl]: i was thinking of forcing something like archive.org to proxy from meta but they seem all https too :-/

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2018-06-24 16:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?