From: Ian Jackson Date: Sun, 9 Aug 2009 20:18:25 +0000 (+0100) Subject: Use the directory name "web" rather than "mason" for better completion; include pirat... X-Git-Tag: 3.4~235 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-live.git;a=commitdiff_plain;h=3793840cd03da4b9bf470ec36bcf1acacb536a49 Use the directory name "web" rather than "mason" for better completion; include pirate-island script --- diff --git a/yarrg/mason/.perl-lib b/yarrg/web/.perl-lib similarity index 100% rename from yarrg/mason/.perl-lib rename to yarrg/web/.perl-lib diff --git a/yarrg/mason/check b/yarrg/web/check similarity index 100% rename from yarrg/mason/check rename to yarrg/web/check diff --git a/yarrg/web/pirate-island b/yarrg/web/pirate-island new file mode 100644 index 0000000..a41410e --- /dev/null +++ b/yarrg/web/pirate-island @@ -0,0 +1,33 @@ +Select island +
+ +
+ +<%init> + +use DBI; + +our $dbh; +our $dbfn; +$dbfn= "/home/ijackson/things/ypp-sc-tools.pctb-dict-test/yarrg/OCEAN-Midnight.db"; + + $dbh=DBI->connect("dbi:SQLite:$dbfn",'','', + { AutoCommit=>0, + RaiseError=>1, ShowErrorStatement=>1, + unicode=>1 }) + or die "$dbfn $DBI::errstr ?" + unless $dbh; + + diff --git a/yarrg/mason/pirates b/yarrg/web/pirates similarity index 100% rename from yarrg/mason/pirates rename to yarrg/web/pirates