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