Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[rt.cpan.org #132431] Implicit modules

1 view
Skip to first unread message

Johan Vromans via RT

unread,
Apr 27, 2020, 7:30:03 AM4/27/20
to p...@perl.org
Mon Apr 27 07:21:49 2020: Request 132431 was acted upon.
Transaction: Ticket created by JV
Queue: Module-ScanDeps
Subject: Implicit modules
Broken in: 1.27
Severity: Normal
Owner: Nobody
Requestors: j...@cpan.org
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=132431 >


The perl runtime may implicitly require certain modules. For example, named captures (%+ and %-) require Tie::Hash::NamedCapture. Globbing ( e.g. <*.c> ) requires File::Glob. Etc..

Scandeps -B should include these modules since it is almost impossible to detect whether they will be actually needed.

Roderich Schupp via RT

unread,
Apr 27, 2020, 10:30:02 AM4/27/20
to p...@perl.org
Mon Apr 27 10:17:13 2020: Request 132431 was acted upon.
Transaction: Correspondence added by RSCHUPP
Queue: Module-ScanDeps
Subject: Implicit modules
Broken in: 1.27
Severity: Normal
Owner: Nobody
Requestors: j...@cpan.org
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=132431 >


On 2020-04-27 07:21:49, JV wrote:
> The perl runtime may implicitly require certain modules. For example,
> named captures (%+ and %-) require Tie::Hash::NamedCapture. Globbing (
> e.g. <*.c> ) requires File::Glob. Etc..
>
> Scandeps -B should include these modules since it is almost impossible
> to detect whether they will be actually needed.

PAR::Packer already always packs:

Tie::Hash::NamedCapture
PerlIO
PerlIO::Scalar
Errno
utf8

I'm not sure taht adding these to Module::ScanDeps makes much sense.

Cheers, Roderich

Johan Vromans via RT

unread,
Apr 27, 2020, 2:00:02 PM4/27/20
to p...@perl.org
Mon Apr 27 13:46:59 2020: Request 132431 was acted upon.
Transaction: Correspondence added by JV
Queue: Module-ScanDeps
Subject: Implicit modules
Broken in: 1.27
Severity: Normal
Owner: Nobody
Requestors: j...@cpan.org
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=132431 >


Because scandeps is a tool that can be used independently from PAR::Packer?
0 new messages