On 20/07/11 15:00, Alejandro Imass wrote:

The Catalyst Wiki seems to be having some problems so i posted it on PM as well:

http://www.perlmonks.org/?node_id=915657
In your first example,

  $c->model('Models::People')->all()

and

  $c->model('Models')->schema->resultset('People');


are not (necessarily) equivalent. The former always returns an array, the latter only in array context.


Best,

Alejandro Imass




NET-A-PORTER.COM Irresistible fashion at your fingertips

______________________________________________________________________

CONFIDENTIALITY NOTICE
The information in this email is confidential and is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, you must not read, use or disseminate the information. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Net a Porter Ltd.
Net A Porter Ltd is a company registered in England & Wales Number: 3820604 
Registered Office: 1 The Village Offices, Westfield, Ariel Way, London, W12 7GF
_____________________________________________________________________

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to