Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by Discipulus (Monsignor)
on Dec 15, 2006 at 08:00 UTC ( #589989=note: print w/replies, xml ) Need Help??


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

ok small config go into my %conf; at the very beginning.

medium config below wonderful __DATA__ token (no one mentioned it. I' m so stupid to do so ?!?).

big configs shared between 2 or more scripts go into a quick 'n dirty exported on request only  %conf_one in a conf_Project.pm

ty all

Lorenzo*

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://589989]
help
Chatterbox?
[1nickt]: I just got my feet wet with some DBIC coding this last week. I feel "meh" about it so far. It was pretty easy to add a sub to the DBIC class to filter search results ...
[1nickt]: ... in the calling code ... $rs = $rs->maturity(" stable");. But I don;t enjoy feeling that far away from the SQL and the DB, really.
[1nickt]: The same project (CPAN Testers API) is using experimental signatures (and therefore 5.024) ... which is what replaced Method::Signatures , afaict.
[1nickt]: But the new $job is on an older Perl and therefore using M::S, the syntax of which looks clunky to me, so far.

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2017-11-24 13:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (349 votes). Check out past polls.

    Notices?