[Catalyst] general question: catalyst syntax

Will Smith willbelair at yahoo.com
Thu Nov 24 21:35:04 CET 2005


  hi, 
  I have a piece of code in the Controller : (cd table: cd_id, cd_name, artistid)
   
  my @mycd = music::M::CDBI::Cd->search(artistid => "${myartist_id}");
   
  when I access @mycd in the TT, the values returned are the cd_id only. 
  How can I access the cd_name, within the Controller (not in the TT),
  and in the TT
   
  thanks 


		
---------------------------------
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20051124/b638d304/attachment-0001.htm


More information about the Catalyst mailing list