Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: conf file in Perl syntax

by LanX (Chancellor)
on Jun 11, 2009 at 11:03 UTC ( #770599=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    our $config;
    do './conf.pl' or die "Can't read config $!";
    print $config->{host_1};
    
  2. or download this
    # read in config files: system first, then user
    for $file ("/share/prog/defaults.rc",
    ...
                  warn "couldn't run $file"       unless $return;
              }
        }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://770599]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2016-12-08 17:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (144 votes). Check out past polls.