/[wopi2]/trunk/dump.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/dump.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5 - (show annotations)
Fri Jun 25 16:16:08 2004 UTC (19 years, 10 months ago) by dpavlin
File MIME type: text/plain
File size: 266 byte(s)
a lot of changes, poll is in it's own database,
edit and delete of questions, display of status messages

1 #!/usr/bin/perl -w
2
3 use strict;
4
5 use DBM::Deep;
6 use Data::Dumper;
7 use XML::Simple;
8
9 my $db = new DBM::Deep '/tmp/wopi.db' || die "can't open db";
10
11 die "can't open db" if (! defined($db));
12
13 if (lc(shift) =~ /xml/) {
14 print XMLout($db);
15 } else {
16 print Dumper($db);
17 }

Properties

Name Value
svn:executable

  ViewVC Help
Powered by ViewVC 1.1.26