/[pxelator]/lib/PXElator/store.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/PXElator/store.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 522 by dpavlin, Thu Aug 26 19:29:18 2010 UTC revision 564 by dpavlin, Wed Nov 9 11:51:18 2011 UTC
# Line 7  use POSIX; Line 7  use POSIX;
7  use Time::HiRes qw/time/;  use Time::HiRes qw/time/;
8  use Data::Dump qw(dump);  use Data::Dump qw(dump);
9    
 use MongoDB;  
   
10  our $audit;  our $audit;
11    
12  eval {  eval {
13            require MongoDB;
14    
15          my $conn   = MongoDB::Connection->new;          my $conn   = MongoDB::Connection->new;
16          my  $db    = $conn->get_database( 'pxelator' );          my  $db    = $conn->get_database( 'pxelator' );
17          $audit = $db->get_collection( 'audit' );          $audit = $db->get_collection( 'audit' );

Legend:
Removed from v.522  
changed lines
  Added in v.564

  ViewVC Help
Powered by ViewVC 1.1.26