Files Generally, you'll define one class per file. It keeps you out of trouble because the location of the file in the filesystem is pertinent; Perl uses the class name to construct a filename which it uses to try to locate the file to load. For example, to find Foo::Bar, Perl would construct the filename Foo/Bar.pm, and look for it in the normal places it looks for libraries. Try "perl -V" to see where Perl is looking.