]> git.deb.at Git - pkg/blosxom.git/blobdiff - t/interpolate/config/blosxom.conf
Add hash/hashref interpolation support to blosxom.cgi, and tests.
[pkg/blosxom.git] / t / interpolate / config / blosxom.conf
diff --git a/t/interpolate/config/blosxom.conf b/t/interpolate/config/blosxom.conf
new file mode 100644 (file)
index 0000000..9daf90f
--- /dev/null
@@ -0,0 +1,29 @@
+$blog_title = 'Interpolation Testing';
+$blog_description = 'Terpolation Turpentine';
+$datadir = "$ENV{BLOSXOM_CONFIG_DIR}/../data";
+use vars qw(%hash $hashref $hash);
+%hash = (
+  abc => 123,
+  def => 456,
+  'X-Factor' => 789,
+);
+$hashref = {
+  abc => 123,
+  def => 456,
+  'X-Factor' => 789,
+};
+$Blosxom::Test::string = 'this is a test';
+%Blosxom::Test::hash = (
+  abc => 123,
+  def => 456,
+  'X-Factor' => 789,
+);
+$Blosxom::Test::hashref = {
+  abc => 123,
+  def => 456,
+  'X-Factor' => 789,
+};
+# Silence $hash warnings
+$hash = '';
+
+1;