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

Re: Configuration file design

by pelagic (Priest)
on Jan 04, 2005 at 09:54 UTC ( [id://419196]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    [one_server]
    save_dir = /var/spool/bla/files
    ...
    dir = /var/spool/quatsch/bla/save
    glob = .
    archive = quatsch.bla.save.tar.gz
    
  2. or download this
    my $cfg = Config::IniFiles->new( -file => "./$p_cfgfile" );
    foreach my $group ($cfg->Groups) {
    ...
            ##  do something with: $cfg->val($member, 'archive');
        }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-25 07:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found