<?xml version="1.0" encoding="windows-1252"?>
<node id="932612" title="Re^2: Perl Modules with 2 or more classes" created="2011-10-20 06:20:18" updated="2011-10-20 06:20:18">
<type id="11">
note</type>
<author id="163790">
dsheroh</author>
<data>
<field name="doctext">
Moose and/or other object systems have nothing to do with it.  The relation between packages (classes) and files is purely a convention born of convenience.  There's absolutely nothing stopping you from putting multiple packages into a single file or splitting a single package across multiple files while using only the core language.  It messes with &lt;c&gt;use&lt;/c&gt; (which assumes that the file name and package name will be identical) and can thoroughly confuse anyone trying to read/maintain the code in the future, but that's about it.</field>
<field name="root_node">
932351</field>
<field name="parent_node">
932355</field>
</data>
</node>
