<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Ruslan Zakirov wrote:
<blockquote
cite="mid589c94400603141604x763fcf73l22fa2719d63375b6@mail.gmail.com"
type="cite">
<pre wrap="">On 3/14/06, Boldra <a class="moz-txt-link-rfc2396E" href="mailto:paul@boldra.com"><paul@boldra.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Or would you turn the component into a perl module and call that from both?
</pre>
</blockquote>
<pre wrap=""><!---->Yep, RT WebUI uses API and really is wrapper around it. Also scrip
code could be fired when there is no httpd server running.
</pre>
</blockquote>
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.<br>
<br>
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?<br>
<blockquote
cite="mid589c94400603141604x763fcf73l22fa2719d63375b6@mail.gmail.com"
type="cite">
<pre wrap=""></pre>
<blockquote type="cite">
<pre wrap="">Paul Boldra
Lead Developer
ticketsystem.de
_______________________________________________
<a class="moz-txt-link-freetext" href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a>
Community help: <a class="moz-txt-link-freetext" href="http://wiki.bestpractical.com">http://wiki.bestpractical.com</a>
Commercial support: <a class="moz-txt-link-abbreviated" href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at <a class="moz-txt-link-freetext" href="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</a>
We're hiring! Come hack Perl for Best Practical: <a class="moz-txt-link-freetext" href="http://bestpractical.com/about/jobs.html">http://bestpractical.com/about/jobs.html</a>
</pre>
</blockquote>
<pre wrap=""><!---->
--
Best regards, Ruslan.
</pre>
</blockquote>
<br>
</body>
</html>