in reply to Auto install of a perl package if 'use' statement fails
And the other side of that coin is the tyographical error problem: The number of times I type "use warnigns;" is legion. With 'auto-install of package on use failure', then every time I typoed, Perl would have to take time out to search CPAN, determine that the module didn't exist, and report back; I'd get a lot grayer waiting. I'd be sorely tempted to build my own pragmas (with the appropriate mis-spelled name) to get around it. That would get to be both a maintenance headache and a distribution nightmare. I much prefer the current polite error message followed by a quick exit, stage left.
----
I Go Back to Sleep, Now.
OGB
|
|---|