Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mit-eddie!bbn!bbn.com!cosell From: cosell@bbn.com (Bernie Cosell) Newsgroups: comp.sources.d Subject: Re: perl question about > in file name Keywords: perl Message-ID: <40899@bbn.COM> Date: 5 Jun 89 02:40:08 GMT References: <123@zip.eecs.umich.edu> Sender: news@bbn.COM Reply-To: cosell@BBN.COM (Bernie Cosell) Organization: Bolt Beranek and Newman Inc., Cambridge MA Lines: 19 In article <123@zip.eecs.umich.edu> don@zippy.eecs.umich.edu (Don Winsor) writes: }Does anyone know if there is any way to make "perl" read from a }file whose name begins with a ">" character? How about the standard unix tricks for dealing with that sort of problem: either reference the file as "./>myfile" or as "/usr/home/me/dir/>myfile"? } If the filename begins with <" or nothing, the file } is opened for input. If the filename begins with } ">", the file is opened for output. If the filename } begins with ">>", the file is opened for appending. I would bet that this really means "the filename string", not the filename-itself (if you were thinking of that string as being "device" . "directorypath" . "filename" even though the above decomposition is the actual reality for most operating systems.) /Bernie\