Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by nimdokk (Vicar)
on Dec 14, 2006 at 17:00 UTC ( #589865=note: print w/replies, xml ) Need Help??


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

Sorta like .ini I suppose, but I simply use files named .cfg instead (depending on what it is being used for of course :-)
  • Comment on Re: My preferred way of handling config data in Perl is:

Replies are listed 'Best First'.
Re^2: My preferred way of handling config data in Perl is:
by wazoox (Prior) on Dec 14, 2006 at 17:24 UTC
    Well, I name them .conf actually :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://589865]
help
Chatterbox?
[Corion]: tye: Hmm - you mean what who am i outputs?
[Corion]: (that should be getlogin()? )
[Corion]: (which apparently even is a Perl function, I didn't know that, so thank you for making me see that ;) )
[Corion]: Yeah, I just did su -; perl -wle "print getlogin" and it still printed corion
LanX YT auto-caption: "The Uk sends a breakfast negotiator to brothels"
[tye]: cool. For some reason I couldn't remember it nor come up with a good search strategy (other than crowd sourcing).
[davido]: hm, that seems to also survive $< manipulations @corion so good call.

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2017-06-23 18:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (554 votes). Check out past polls.