https://bugzilla.redhat.com/show_bug.cgi?id=1558427



--- Comment #3 from Petr Pisar <ppi...@redhat.com> ---
The generator intentionally ignores non-top-level run-time-loaded modules,
indented "require Foo":

my $glob = sub {
    my ( $do, $src_glob, @args ) = @_;

    local $CPRFComp = 1;
    require File::Glob;

    my @rt;
    for my $path ( File::Glob::bsd_glob($src_glob) ) {
        my @call = [ $do->( $path, @args ) ] or return;
        push @rt, \@call;
    }

    return @rt;
};

I believe the reason is many false positives like branches that never execute
on Fedora, e.g:

if ($^O eq 'MSWin32') {
  require Win32::Foo;
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to