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

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

Thread Previous | Thread Next
From:
Ed Avis
Date:
October 14, 2015 10:43
Subject:
Re: [perl #126271] File::Glob issue
Message ID:
loom.20151014T124108-989@post.gmane.org
Craig A. Berry <craig.a.berry <at> gmail.com> 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 <eda@waniasset.com> 





Thread Previous | 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