On 7 Jun 2012, at 23:17, Luis Muñoz wrote:
> The part that's stumping me is how to go within Dump.pm about obtaining a $c
> that allows me to get to the configuration (taken from the same place where
> the web application takes it) and the model.
You don't.
$c implies a web request context, which you don't have.
You can, however, call things as class methods, so:
$self->application_name->model('DB')->schema->foo
should work from inside your script, for example.
Cheers
t0m
_______________________________________________
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/