|Just another Perl shrine|
Re^4: Main routines, unit tests, and sugarby BrowserUk (Pope)
|on Jun 16, 2013 at 16:50 UTC||Need Help??|
Any important code resides under one App::MyApp namespace, and not split across App::MyApp and myapp.pl
It was mostly humour, but ... you still need myapp.pl in order to invoke your application.
Which means you added an extra file (your App::MyAPP.pm) -- and an extra level of callback trace to every error message, etc. etc. -- and made the (still) required file almost empty and what did you gain?
IMO nothing. You added the need to chase off and track through where this module file lives -- not always obvious with lib, site/lib, site/vendor/lib, use lib et al. -- just in order to see what it does; what its dependencies are ...
That almost empty file, the .pl, is still used. What is the point in adding an extra file in order to make this one almost empty? There is no logical justification for it.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.