At 10:16 AM 2/23/00 -0500, [EMAIL PROTECTED] wrote:
>Meanwhile, I have a "Perl language" question that I hope someone can answer...
>in the t/lib/dprof.t test, there's a glob:
>             sort(<lib/dprof/*_t lib/dprof/*_v>)
>that fails on VMS...I modified it to:
>             sort(<lib/dprof/*_t>,<lib/dprof/*_v>)
>and then it works; apparantly the glob is handled in OP.C in a section of
>VMS-specific code, and it expects a single filespec.
>
>What I couldn't find in the docs was any indication that the originial
>form of glob was particularly "valid".  Is it? I guess it works for
>*somebody*, otherwise it wouldn't be in the test suite, but it would
>be nice to have some idea as to valid format, separators, etc.  if
>you're putting a list of filespecs in the glob.

It is now. Globs were always sort of fuzzy, but they ultimately called out 
to csh for the globbing on Unix, so anything valid there was OK. (Though 
platform dependent)

Currently 5.6 has File::Glob that does the globbing for you in a 
csh-compatible way, unless overridden. We override it on VMS.

>Which leads to the question: should the VMS-glob handle these "list of
>filespecs" globs, or should it be "don't do that in VMS"?

That's a good question. I can see it going either way.

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to