[rt-users] use LWP to call mason components from scrips??
Boldra
paul at boldra.com
Wed Mar 15 02:45:52 EST 2006
Ruslan Zakirov wrote:
> On 3/14/06, Boldra <paul at boldra.com> wrote:
>
>> Or would you turn the component into a perl module and call that from both?
>>
> Yep, RT WebUI uses API and really is wrapper around it. Also scrip
> code could be fired when there is no httpd server running.
>
>
WebUI uses the RT API, but I want to use my own mason components from
inside a scrip. Exactly because there may be no httpd running, there's
no way to use $m->scomp. I'd also be interested if there's any way of
using features in the autohandler from a scrip.
OTOH I've found adding perl modules to mason components problematic;
especially since I'm using fastCGI instead of mod_perl. I can't preload
the module in the apache config (or can in?), so where should I load it?
>> Paul Boldra
>> Lead Developer
>> ticketsystem.de
>>
>> _______________________________________________
>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>>
>> Community help: http://wiki.bestpractical.com
>> Commercial support: sales at bestpractical.com
>>
>>
>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
>> Buy a copy at http://rtbook.bestpractical.com
>>
>>
>> We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html
>>
>>
>
>
> --
> Best regards, Ruslan.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20060315/e8f11f4b/attachment.htm>
More information about the rt-users
mailing list