I was able to use the controller methods that did not require
$c .

I just used the Module in the script and called the
methods in it and it worked.


> Hi ,
> I have  application logic in controllers which i want to
> reuse from some non-http scripts.
> Is it doable or should it be done at all ?
> I know models can easily be called from scripts , but
> my business logic lies in models and controllers.
> sorry if it was a FAQ.
> Regds
> mallah.

List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to