diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-12-05 17:50:29 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-12-05 17:50:29 +0000 |
commit | 365f3028ddfb5487f35ebbb9adc42ddf9459113d (patch) | |
tree | 211e4ba436ffa2f2badb458386864968837e3aff /scripts/readconfig.pm.in | |
parent | f42a505ab71ba421797ac511e1221ccbefef8ab9 (diff) |
* Use CamelCase for the Perl modules.
Diffstat (limited to 'scripts/readconfig.pm.in')
-rw-r--r-- | scripts/readconfig.pm.in | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/scripts/readconfig.pm.in b/scripts/readconfig.pm.in deleted file mode 100644 index aeb443aee..000000000 --- a/scripts/readconfig.pm.in +++ /dev/null @@ -1,17 +0,0 @@ -use strict; - -sub readConfig { - my %config; - my $config = "@sysconfdir@/nix/nix.conf"; - return unless -f $config; - - open CONFIG, "<$config" or die "cannot open `$config'"; - while (<CONFIG>) { - /^\s*([\w|-]+)\s*=\s*(.*)$/ or next; - $config{$1} = $2; - print "|$1| -> |$2|\n"; - } - close CONFIG; -} - -return 1; |