Boris Shor wrote: > Why does the following work (eg, give me an array filled with > matching file names): > > @filelist = glob("w:/stleg/Colorado/House_98/*.htm"); > > And when I rename the directory to "House 98" (space instead of > underscore), the following does not: > > @filelist = glob("w:/stleg/Colorado/House 98/*.htm"); I tried a number of things and was not able to accomplis the task until I split it into two parts: Change to a directory location and then pull the files desired from that location.
my $MyLoc = "d:/00Common\ Perl/"; chdir($MyLoc) || die "Unable to change to directory $MyLoc: $!"; @filelist = glob("pl0*.pl"); When I did the above, I was able to pull, but I was unable to use a combination of $MyLoc and pl0*.pl to pull. I know there is a way, but will have to be one of the capable wizards on the list, though this will accomplish what you want in a two step process. Wags ;) > > Thanks! ********************************************************** This message contains information that is confidential and proprietary to FedEx Freight or its affiliates. It is intended only for the recipient named and for the express purpose(s) described therein. Any other use is prohibited. **************************************************************** -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]