Help for this page

Select Code to Download


  1. or download this
    sub get_defaults {
        return +{
    ...
          ...
        };
    };
    
  2. or download this
    use YAML 'LoadFile';
    
    ...
        my( $filename ) = @_;
        LoadFile( $filename )
    }
    
  3. or download this
    sub config_from_ENV {
        my ( $env ) = @_;
    ...
            ...
        }
    }
    
  4. or download this
    sub config_from_ARGV {
        my( $argv ) = @_;
    ...
            config_file => $config_file,
            output_type => $output_type,
        },
    
  5. or download this
    my $defaults = get_defaults();
    
    ...
            };
        };
    };