sub _get_rows { my( $self, $file ) = @_; my $dbh = $self->_connect( $file ); my $sth = $dbh->prepare( 'SELECT * FROM cookies' ); # CHANGE THIS LINE $sth->execute; my @rows = map { if( my $e = $_->encrypted_value ) { my $p = $self->_decrypt( $e ); $_->decrypted_value( $self->_decrypt( $e ) ); } $_; } map { HTTP::Cookies::Chrome::Record->new( $_ ) } @{ $sth->fetchall_arrayref }; $dbh->disconnect; \@rows; }