in reply to weird reference problem

$db = DatosUach::new($datos{HOST}, $datos{DRIVER},$datos{DATABASE},$datos{USUARIO}, $datos{PASSWORD});
Are you sure that shouldn't be:
$db = DatosUach->new( $datos{HOST}, $datos{DRIVER}, $datos{DATABASE}, $datos{USUARIO}, $datos{PASSWORD} );
_____________________________________________________
Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart

Replies are listed 'Best First'.
Re^2: weird reference problem
by imcsk8 (Pilgrim) on Sep 02, 2004 at 22:25 UTC
    nope, the DatosUach object works well, the reference to a dbi object that i extract from it ($db->{dbi}) works well too. the weird part is when i give it to the CGI::Session constructor.


    ignorance, the plague is everywhere
    --guttermouth