[CDBI] search()->first

Matt S Trout dbix-class at trout.me.uk
Mon Feb 27 21:27:59 GMT 2006


On Mon, Feb 27, 2006 at 04:15:45PM -0500, juanbro at pivot.net wrote:
> Hi,
> 
> In the CDBI docs I see an example like this:
> 
> my $artist3 = Music::Artist->search( name => 'Polysics' )->first;
> 
> but no other mention of 'first'. What's this?

perldoc Class::DBI::Iterator

-- 
     Matt S Trout       Offering custom development, consultancy and support
  Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

 + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +




More information about the ClassDBI mailing list