Bug#881892: perl-base: File::Glob(3perl) bsd_glob does not document DEFAULT_FLAGS

Tim Connors tim.w.connors at gmail.com
Thu Nov 16 04:39:47 UTC 2017


Package: perl-base
Version: 5.24.1-3+deb9u2
Severity: normal

In the one argument form of File::Glob::bsd_glob, the default flags
are not documented.  They appear to be GLOB_CSH, although the
documentation for GLOB_NOCASE talks about different behaviour on OSX,
ie the one argument form looks to be nearly equivalent to:

    $homedir = bsd_glob('~gnat', GLOB_CSH); # !OSX
or
    $homedir = bsd_glob('~gnat', GLOB_CSH | GLOB_NOCASE); # OSX

This has supposedly been fixed, but since I don't have the git tree handy, I can't check what the supposed fix is:
http://grokbase.com/t/perl/perl5-porters/11cybe0n6v/perl-107296-file-glob-bsd-glob-undocumented-default-flags

-- System Information:
Debian Release: 9.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (5, 'testing'), (2, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-0.bpo.1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages perl-base depends on:
ii  dpkg   1.18.24
ii  libc6  2.24-11+deb9u1

perl-base recommends no packages.

Versions of packages perl-base suggests:
ii  perl  5.24.1-3+deb9u2

-- no debconf information




More information about the Perl-maintainers mailing list