Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: conf file in Perl syntax

by LanX (Canon)
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2015-03-26 19:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (595 votes), past polls