> > @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:
> >
The reason is you escaped the space in $MyLoc but not in /House 98/.
If you escape the space in /House 98/ (IE /House\ 98/) like you did in $MyLoc it will
probably work.
Likewise if you Unescape $MyLoc (IE my $MyLoc = "d:/00Common Perl/";
^ no
slash here)
It will probably fail.
HTH
DMuey
>
> 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 ;)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]