I think you can safely include it when you need it.<br><br><div><span class="gmail_quote">On 10/11/06, <b class="gmail_sendername">Joseph Bratton</b> <<a href="mailto:jbratton@c2fs.com">jbratton@c2fs.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Quick question, what is the "proper" method for
including external libraries within a drupal module? Should I place a
require_once at the top of the module, or just at the beginning of any
functions within the module that use that library? Once at the top of the
module is cleaner, but it also means that it is loaded on every page, whether
it is actually used or not.</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Thanks,</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Joey</span></font></p>
</div>
</div>
</blockquote></div><br>