in reply to Retrieving value from MySQL Database using DBIx::class

What your _query_t_get_desc function returns is a DBIx::Class::ResultSet, not a single field as you seem to expect.

Maybe you want to change the code to

return $schema->resultset("UserScenario")->search({ "name" => $us_name })->first->description

or something similar

Perl 6 - links to (nearly) everything that is Perl 6.

Replies are listed 'Best First'.
Re^2: Retrieving value from MySQL Database using DBIx::class
by siddheshsawant (Sexton) on Apr 01, 2010 at 15:52 UTC

    thanks a lot .....That worked for me..... :-)