develooper Front page | perl.perl5.porters | Postings from October 2015

Re: [perl #126271] File::Glob issue

Thread Previous | Thread Next
Ed Avis
October 14, 2015 10:43
Re: [perl #126271] File::Glob issue
Message ID:
Craig A. Berry <craig.a.berry <at>> writes:

>Do all shells have the same metacharacters?  What if the CLI from
>which Perl was invoked was not a Unix shell at all?

It doesn't matter where perl was run from or what the user's preferred shell
is; globbing always follows 'the csh rules', and where it still works by
running an external process, that will be csh or some variant.

But anyway, I think everyone is now in agreement that doing something wacky
on glob patterns that contain shell metacharacters unrelated to globbing is
to be considered a bug not a feature.

Ed Avis <> 

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