msgbox

Perl, DBI

Oct 26th, 2011
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.30 KB | None | 0 0
  1. use DBI;
  2.  
  3. $rq = 'SELECT * FROM cookies WHERE host_key LIKE \'.vkontakte.ru\' LIMIT 6,1';
  4. $fl = '/home/msgbox/.config/google-chrome/Default/Cookies';
  5.  
  6.   $db = DBI->connect("DBI:SQLite:$fl") || die "Could not connect to database: $DBI::errstr";
  7.   $rq = $db->do($rq); $db->disconnect();
  8.   print "$rq\n";
Advertisement
Add Comment
Please, Sign In to add comment