nayakgi / perl-compiler

Automatically exported from code.google.com/p/perl-compiler
Other
0 stars 0 forks source link

new feature: wildcard use -uCpanel::* #347

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Force using wildcards package names with -u and -U

Do not delete them from the cache with -u. 
-U includes subpackages, -u not.

Original issue reported on code.google.com by reini.urban on 10 Jun 2014 at 11:52

GoogleCodeExporter commented 9 years ago

Original comment by reini.urban on 11 Jun 2014 at 11:21

GoogleCodeExporter commented 9 years ago

Original comment by reini.urban on 11 Jun 2014 at 11:24

GoogleCodeExporter commented 9 years ago
But I rather want to fix the Deletion logic.
No non-B::C packages should be deleted ever. 
They should all be dumped. But no additional packages should be loaded by the 
compiler.

The root cause are methods and the cache logic.

Then this -u* will make no sense.

Original comment by reini.urban on 14 Jun 2014 at 11:48

GoogleCodeExporter commented 9 years ago
-u* only makes sense for B::C dependent (internal) modules, like B. But to 
include B and all its kids just do -uB.

-u* will never require the module in question, only already loaded modules will 
be dumped, and all external modules will be dumped as per documentation. If not 
it's a bug. See #348 for this bug.

Original comment by reini.urban on 2 Jul 2014 at 2:24