Rob Dixon wrote:
> Joseph wrote:
> >
> > Just remember that the enclosing double-quotes are always a part
> > of Windows long filenames. When the the sytem processes the
> > string expression offered as an argument, it takes only the
> > textual content, and strips the quuotes. Enclose the whole
Joseph wrote:
>
> Just remember that the enclosing double-quotes are always a part
> of Windows long filenames. When the the sytem processes the
> string expression offered as an argument, it takes only the
> textual content, and strips the quuotes. Enclose the whole
> string, including double-qu
"Wagner, David --- Senior Programmer Analyst --- WGO" wrote:
> Boris Shor wrote:
> > 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 n
David --- Senior Programmer Analyst --- Wgo Wagner wrote:
>
>
> Note: I went into File::Glob and it gives the following:
>
> Since v5.6.0, Perl's CORE::glob() is implemented in terms of
> bsd_glob(). [...] Due to historical reasons, CORE::glob() will also
> split its argument on whitespace, treatin
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("
David Wagner wrote:
> Dan Muey wrote:
@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/.
>
> Under
> Understood, but I know that the space within a
> directory name must have the \ otherwise it won't work, but
> if I try say ( for my testing purposes):
>
> $MyLoc = "d:/00Common\ Perl/";
> @filelist = glob($MyLoc . "pl0*.pl");
>
> The only thing that prints is
> d:/00Common
>
Dan Muey wrote:
>>> @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
> > @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\
--As off Wednesday, November 26, 2003 3:58 PM -0500, Boris Shor is
alleged to have said:
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
under
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:/
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");
Th
12 matches
Mail list logo