Re: openning file...

2006-04-02 Thread kurtz le pirate
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Sherm Pendley) wrote: The wanted function only gets the file name of the file, which is not enough to open the file with, if it's in a subdirectory. Try calling open() with the full path to the file, not just the file name alone. sory but

Re: openning file...

2006-04-02 Thread Ken Williams
On Apr 1, 2006, at 2:49 AM, kurtz le pirate wrote: hello, mac os x store file name in utf-8 format. so, how to open file with special characters in name ? a very simple exemple is a file name that begin with space. if i write : open(FILE, Read in a file), perl return an error: *** can't

Re: openning file...

2006-04-02 Thread Joel Rees
On 2006.4.2, at 10:34 PM, kurtz le pirate wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Sherm Pendley) wrote: The wanted function only gets the file name of the file, which is not enough to open the file with, if it's in a subdirectory. Try calling open() with the full path to the

Re: openning file...

2006-04-02 Thread kurtz le pirate
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Ken Williams) wrote: On Apr 1, 2006, at 2:49 AM, kurtz le pirate wrote: hello, mac os x store file name in utf-8 format. so, how to open file with special characters in name ? a very simple exemple is a file name that begin with

openning file...

2006-04-01 Thread kurtz le pirate
hello, mac os x store file name in utf-8 format. so, how to open file with special characters in name ? a very simple exemple is a file name that begin with space. if i write : open(FILE, Read in a file), perl return an error: *** can't open [ Read in a file] : No such file or directory i

Re: openning file...

2006-04-01 Thread Sherm Pendley
On Apr 1, 2006, at 3:49 AM, kurtz le pirate wrote: mac os x store file name in utf-8 format. so, how to open file with special characters in name ? The same way you open any file: open(FH, '', $filename) or die Could not open $filename: $!; a very simple exemple is a file name that

Re: openning file...

2006-04-01 Thread John Delacour
At 11:51 am -0500 1/4/06, Sherm Pendley wrote: On Apr 1, 2006, at 3:49 AM, kurtz le pirate wrote: mac os x store file name in utf-8 format. so, how to open file with special characters in name ? The wanted function only gets the file name of the file, which is not enough to open the file