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");
--As for the rest, it is mine.
(I'll assume you have both folders.)
Simple: glob is based on the shell behavior, and shell considers a space to be the end on argument. So, in the latter you are telling it to open two different filename patterns.
Try this: @filelist = glob("w:/stleg/Colorado/House\ 98/*.htm");
I think that should work... (It escapes the space.)
Daniel T. Staal
--------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. ---------------------------------------------------------------
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]