On Thu, Nov 08, 2007 at 06:14:03PM +0530, jagdish eashwar <[EMAIL PROTECTED]> 
wrote:

> my $name = $names->first;
> print "$name->name\n";
>       
> This printed 'Testdb::Main::Family=HASH(0x84275e8)->name' instead of
> the expected 'sushama'.
> 
> I am unable to spot where my mistake is? Can anyone help please?

Remove the quotes:

print $names->first->name,"\n";
or
print $name->name,"\n";


regaards,
  bkw

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]

Reply via email to