develooper Front page | perl.perl5.porters | Postings from June 2008

Re: [perl #56348] glob() with spaces - documentation unclear

Thread Previous | Thread Next
Paul Fenwick
June 26, 2008 01:18
Re: [perl #56348] glob() with spaces - documentation unclear
Message ID:
G'day Ben,

Ben Morrow wrote:

> Since it recently came up on clpmisc :), it's probably worth mentioning
> that glob omits files beginning with '.' on all OSen, even those which
> don't treat such files as 'hidden'.

I did try to allude to that in my patch, with the example of glob(".* *") 
matching everything in a directory.

> a lot of Perl programmers won't be familiar with csh nowadays

"What would csh do?"

> (thankfully :) ).  I realise this is all documented in File::Glob, but
> at least an explicit mention that that is the place to look for the
> pattern spec would be useful.

Any wording suggestions?  ;)



Paul Fenwick <> |
Director of Training                   | Ph:  +61 3 9354 6001
Perl Training Australia                | Fax: +61 3 9354 2681

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About