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

Re: [MacPerl] Error opening file w/trailing spaces in name



At 7:40 AM -0700 1/28/99, Ero Brown wrote:

} I get an error when performing the following operation on
} a file that has trailing spaces in its name:
}
}  open(THEFILE, "<$theFileName")
}
} e.g., $theFileName = "Problem File   ";
}
} What am I doing wrong?
}

You're not reading the documentation that comes with MacPerl.  Use Shuck to
read the entry for open, and you will be enlightened.


-----
Paul J. Schinder
schinder@pobox.com

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch