in reply to OO Conversion Query - Sharing Data

... if undefined $self->{dbh};

What is this undefined function? Are you sure that the code you showed bears any semblance to what you run?

I would check what $self->{cookies} = igaro::core::cookies::env->new(); returns, and whether it actually contains any cookies.

Then, I would check that $self->{cookies}->get('session') actually returns what the browser sent.

If this is in relation to The most powerful CMS developed in Perl (not spam, sounds that way), I would compare the differences in cookie handling between the old and the new implementation. Maybe you have a regression test suite that checks that handing out a session cookie works?