The following script:

use File::Glob ':glob';

my test = (
'{random string}',
'\\{random string\\}'
);

for (test) {
print "glob: $_ ==> ";
print bsd_glob($_, GLOB_TILDE | GLOB_BRACE | GLOB_NOCHECK);
print "\n";
}

has the following output:

glob: {random string} ==> random string
glob: \{random string\} ==> \random string\

I believe this to be wrong, because since I have no file called 'random
string' and the GLOB_NOCHECK option is in effect the _original_ pattern
should be returned.

Anyone any idea what happens there and/or if I am right when I think
this behaviour is wrong and/or who is responsible and/or who I should
bug with this ?

--
) ( Jaap Karssenberg || Pardus [Larus] | |0| |
: : [url]http://pardus-larus.student.utwente.nl/~pardus[/url] | | |0|
) \ / ( |0|0|0|
",.*'*.," Proud owner of "Perl6 Essentials" 1st edition :) wannabe