Help for this page

Select Code to Download


  1. or download this
        @list     = C('my.path.to.a.list');
        $ref      = C('my.path.to.whatever');
        $array_el = C('my.path.to.array.element.3');
    
  2. or download this
    
        $host = $c->get_dbconfig->{servers}[2]{host};
    ...
    
        $host = C('dbconfig.servers.2.host');
    
  3. or download this
    
        global.conf:
            username : admin
            password : 12345
    
  4. or download this
        $Config = {
                    global => {
    ...
                                password => '12345',
                              }
                  }
    
  5. or download this
    
        confdir:
    ...
             --headlines.conf
           --data_types.conf
           syndication.conf
    
  6. or download this
    
        confdir:
            db.conf
            local.conf
    
  7. or download this
    
        connections:
    ...
                table:      abc
                password:   123
    
  8. or download this
    
        db:
    ...
                default_settings:
                    password:   456
    
  9. or download this
        db:
            connections:
    ...
                    password:   456
    
  10. or download this
      file: MyApp/Config.pm:
      ----------------------
    ...
          use MyApp::Config;            
    
          @dbs = C('db.server_pool");
    
  11. or download this
        package MyApp::Config; 
    
    ...
    
            print C('my.config.value');
    
  12. or download this
    package Burro::Config;
    
    ...
    
    1