The solution is to use AutoLoader, which ACTS a bit like a dynamic loader for Perl modules.
解决方案是使用AutoLoader,其作用类似于Perl模块的动态加载程序。
These details are different on Mac OS X, which uses a different dynamic loader, but the rest of the behavior is, surprisingly enough, the same.
这些细节在使用不同的动态装载器的 Mac OS X 上会不一样,但让人吃惊的是,其他行为都是一样的。
应用推荐