fixed InstallConfig.pm so it plays nice with ConfigData.pm
Steve Scaffidi [Fri, 26 Jun 2009 05:57:47 +0000 (01:57 -0400)]
lib/Stem/InstallConfig.pm [new file with mode: 0644]

diff --git a/lib/Stem/InstallConfig.pm b/lib/Stem/InstallConfig.pm
new file mode 100644 (file)
index 0000000..db6c3f7
--- /dev/null
@@ -0,0 +1,16 @@
+package Stem::InstallConfig;
+
+use strict;
+use warnings;
+
+use Stem::ConfigData;
+
+our %Config = 
+    map { $_ => Stem::ConfigData->config( $_ ) } 
+    Stem::ConfigData->config_names();
+
+our %__PACKAGE__ = %Config;
+
+#use Data::Dumper; print Dumper \%Config, \%__PACKAGE__; exit;
+
+1;