Re: PS what is the correct/efficient function to create a file

2005-11-08 Thread Bob Showalter
ZHAO, BING wrote: Hi, unlink $file works fine, but link $file doesn't even exist, link() does exist, but it corresponds to link(2) syscall. perldoc -f link The sysopen function seems to be tedious, does anyone know how to effectively create a file in some

Re: PS what is the correct/efficient function to create a file

2005-11-08 Thread JupiterHost.Net
ZHAO, BING wrote: Hi, unlink $file works fine, but link $file doesn't even exist, Did you search seacrh.cpan.org for "link"? How about "touch"? if you had you'd have found this right off: http://search.cpan.org/~nwetters/File-Touch-0.01/Touch.pm Also perldoc -f open op

RE: PS what is the correct/efficient function to create a file

2005-11-08 Thread Lewis, Cory \(Genworth\)
> Cc: ZHAO, BING; [EMAIL PROTECTED]; beginners@perl.org > Subject: Re: PS what is the correct/efficient function to > create a file > > > You could always use Shell module. > > > Hi, > >unlink $file works fine, but link $file doesn't > >

Re: PS what is the correct/efficient function to create a file

2005-11-07 Thread Tom Allison
You could always use Shell module. Hi, unlink $file works fine, but link $file doesn't even exist, The sysopen function seems to be tedious, does anyone know how to effectively create a file in some directory in perl? -- To unsubscribe, e-mail: [EMA

RE: PS what is the correct/efficient function to create a file

2005-11-07 Thread Timothy Johnson
print OUTFILE $_; } close OUTFILE; # -Original Message- From: ZHAO, BING [mailto:[EMAIL PROTECTED] Sent: Monday, November 07, 2005 2:24 PM To: [EMAIL PROTECTED]; beginners@perl.org Subject: PS what is the correct/efficient function to create

PS what is the correct/efficient function to create a file

2005-11-07 Thread ZHAO, BING
Hi, unlink $file works fine, but link $file doesn't even exist, The sysopen function seems to be tedious, does anyone know how to effectively create a file in some directory in perl? thanks a lot best, -- To unsubscribe, e-mail: [EMAIL PROTECTED] For addi