<?xml version="1.0" encoding="windows-1252"?>
<node id="999344" title="Re^3: How do you do multi-version modules?" created="2012-10-16 10:30:53" updated="2012-10-16 10:30:53">
<type id="11">
note</type>
<author id="373533">
jhourcle</author>
<data>
<field name="doctext">
&lt;p&gt;You don't have to put different packages in different files, only when you need to make them available to &lt;code&gt;use&lt;/code&gt; from other files.  [mod://SOAP::Lite] comes to mind as a module where it exhibits much different behavior depending on what's needed (eg, do we use 'xsi:null' or 'xsi:nil' for this version of XML Schema?&lt;/p&gt;

&lt;/p&gt;SOAP::Lite might be a bit of an extreme example, as they pack a *lot* into one file.  (I count 28 package declarations currently, and it looks like more might be dynamically generated; I remember bugging BareBones Software for *years* about marking packages in automatically generated list of functions so that I could use it to find my way around the file).&lt;/p&gt;</field>
<field name="root_node">
998882</field>
<field name="parent_node">
998895</field>
</data>
</node>
