X-Git-Url: http://git.rot13.org/?p=pxelator;a=blobdiff_plain;f=lib%2FPXElator%2Fstore.pm;h=159484ff6c2812e77bc02a9ccc632fd19b327af9;hp=0f691eb106534c988c1d4d521653c5f1c14ee80c;hb=ec4a3f84fc62a282412fe10126dc4e3d1e4a1a4c;hpb=424cb3ecd7b688f50914bb10dcb45e17f487dc71 diff --git a/lib/PXElator/store.pm b/lib/PXElator/store.pm index 0f691eb..159484f 100644 --- a/lib/PXElator/store.pm +++ b/lib/PXElator/store.pm @@ -7,16 +7,16 @@ use POSIX; use Time::HiRes qw/time/; use Data::Dump qw(dump); -use MongoDB; - our $audit; -eval { - my $conn = MongoDB::Connection->new; - my $db = $conn->get_database( 'pxelator' ); - $audit = $db->get_collection( 'audit' ); -}; -warn "ERROR: no store for audit: $@" if $@; +#eval { +# require MongoDB; +# +# my $conn = MongoDB::Connection->new; +# my $db = $conn->get_database( 'pxelator' ); +# $audit = $db->get_collection( 'audit' ); +#}; +#warn "ERROR: no store for audit: $@" if $@; sub audit {