[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] problem specifying path



On Tue, 15 Feb 2000 22:22:53 -0500, Paul N. Schatz wrote:

>open (IN,  '  7500HD :Utilities:MacPerl =3D9F:README') or die;

>=3D09The script doesn't work, and the reason is the blank spaces which
>occur in the name of my hard drive:  There are two blank spaces at the
>beginning and one at the end of "  7500HD ".

>I have tried everything I can think of to get the script to work

I wish that putting a "\0" in front of the filename would help to stop
Perl from stripping too much. It doesn't, I'm afraid. It only helps at
the end of the name. You could call it a bug; it is probably caused by
C's string convention.

--=3D20
=3D09Bart.

# =3D3D=3D3D=3D3D=3D3D=3D3D Want to unsubscribe from this list?
# =3D3D=3D3D=3D3D=3D3D=3D3D Send mail with body "unsubscribe" to macperl-re=
quest@macp=3D
erl.org