[Boston.pm] glob() bug?

2007-02-22 Thread Kripa Sundar
Hi all, Is this a glob() bug, or am I overlooking something obvious? perldoc -f glob didn't help. TIA. The .[0-9]*[0-9] is globbed correctly when it is not inside braces. % touch a ab abcd a.777 % % perl -le \ 'print for glob(a{,b,b*d,.[0-9]*[0-9]}), ---, glob(a.[0-9]*[0-9])' a ab

Re: [Boston.pm] glob() bug?

2007-02-22 Thread Ben Tilly
It looks to me like a bug. Your expectation of the expansion looks correct to me, and on Linux I get the behaviour that you wanted from /bin/bash, /bin/sh (links to bash) and /bin/csh (links to /bin/tcsh). It is remotely possible that there is some real csh that disagrees, but if so then I'd

Re: [Boston.pm] glob() bug?

2007-02-22 Thread Kripa Sundar
It looks to me like a bug. Thanks for confirming my experience, Ben. I was getting tired of re-reading and re-typing my command lines to rule out stupid typo's. Incidentally, perl v5.8.3 shows the same buggy behaviour on solaris as well as linux. peace, || Ben Cohen tells us