develooper Front page | perl.perl5.porters | Postings from December 2011

[perl #107296] File::Glob::bsd_glob undocumented default flags

Thread Next
From:
Father Chrysostomos via RT
Date:
December 30, 2011 14:45
Subject:
[perl #107296] File::Glob::bsd_glob undocumented default flags
Message ID:
rt-3.6.HEAD-14510-1325285115-1403.107296-15-0@perl.org
On Thu Dec 29 16:09:12 2011, perlbug@plan9.de wrote:
> 
> This is a bug report for perl from perlbug@plan9.de,
> generated with the help of perlbug 1.39 running under perl 5.12.4.
> 
> 
> -----------------------------------------------------------------
> [Please describe your issue here]
> 
> The manpage of File::Glob as an example of bsd_glob with one argument
> only, but doesn't document it's semantics (at leats after multiple
> readings I wouldn't see any explanation).
> 
> Naively, one would (hopefully :) assume the behaviour with no flags
> specified would be like the behaviour of, well, no flags specified
>    ("0"),
> but that is not so, the default apparently includes at least
>    GLOB_NOCHECK,
> which is quite unexpected, IMHO.
> 
> It would be nice if the manpage either documented the behaviour of
> "bsd_glob $scalar", or always uses an explicit flags argument.

I have documented it with commit 8c9e50e.

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=107296

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About