diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-10-29 09:52:45 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-10-29 11:29:44 -0700 |
commit | ffd7a473aecc91f6990e489661d690f3831fc77d (patch) | |
tree | 3d1fb9393073ef1eec0bc305186bf86260e9428c /ext/File-Glob | |
parent | 11951bcbfcaf4c260b0da0421e72fc80b4654f17 (diff) | |
download | perl-ffd7a473aecc91f6990e489661d690f3831fc77d.tar.gz |
Document File::Glob::csh_glob
In <https://rt.cpan.org/Ticket/Display.html?id=72021>, Damian Con-
way writes:
> PS: List::Maker previously followed the documented behaviour of
> File::Glob, rather than the actual behaviour. So there's arguably a
> bug in File::Glob as well. ;-)
List::Maker was forwarding calls to File::Glob::bsd_glob from its
global override in scopes where its override did not apply. The
File::Glob documentation was misleading and implied that that was the
correct thing to do.
Diffstat (limited to 'ext/File-Glob')
-rw-r--r-- | ext/File-Glob/Glob.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/File-Glob/Glob.pm b/ext/File-Glob/Glob.pm index 414fc5a9cb..0b72a32185 100644 --- a/ext/File-Glob/Glob.pm +++ b/ext/File-Glob/Glob.pm @@ -166,6 +166,11 @@ means this will loop forever: The bsd_glob() function and the constants below can be exported individually. +The csh_glob() function can also be exported, but you should not use it +directly unless you really know what you are doing. It splits the pattern +into words and feeds each one to bsd_glob(). Perl's own glob() function +uses this internally. + =head2 POSIX FLAGS The POSIX defined flags for bsd_glob() are: |