Good morning,

On 11/04/13 at 12:06 PM -0400, shawn wilson <ag4ve...@gmail.com> wrote:

Err, not sure if that was stated that well - how would I write something like:

$schema->txn_do(sub{
$self->create({
url   => $page,
stamp => time,
});
});

Did you read the docco Peter sent links for? It explains how to get $schema.

If you did read it, then which part of it is confusing? (There has been recent discussion about improving docs and a patch to make it clearer would be appreciated I'm sure.)

Also, telling us where your confusion is will help us to help you further.


Charlie

--
   Ꮚ Charlie Garrison ♊ <garri...@zeta.org.au>

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
〠  http://www.ietf.org/rfc/rfc1855.txt


_______________________________________________
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/dbix-class@lists.scsys.co.uk

Reply via email to