in reply to Filtering cookies of Chromium outside Chromium itself (v2)

## Open SQLite open OLD,"sqlite3 $ENV{HOME}/.config/chromium/Default/Cookies .dump|" +or die $!;

Did you consider using DBI and DBD::SQLite? That would probably be easier than parsing a dump output.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Replies are listed 'Best First'.
Re^2: Filtering cookies of Chromium outside Chromium itself
by jess.nc (Initiate) on Jul 27, 2010 at 18:40 UTC

    Yes. I already used DBI before but, it wasn't my choice.

    Because DBI must be installed and I have no really use of it by now. Chromium needs sqlite libraries installed, and the executable "sqlites3" is compiled with the libraries. So, this script has no need except perl. That's why I choosed this way.