Re: Is this possible? (file handles)

2004-04-02 Thread R. Joseph Newton
Jeff Westman wrote: This doesn't answer my question. Okay I wanted to know if it is possible to remove a file using the FH name, not the variable name referencing it. No. Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Is this possible? (file handles)

2004-04-01 Thread Venugopal P
Once you close the file, memory for the file handle will be deallocated. You can unlink file using the original file name. unlink (abc); -Original Message- From: Jeff Westman [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 2:02 AM To: perl_help Subject: Is this possible? (file

Re: Is this possible? (file handles)

2004-04-01 Thread Smoot Carl-Mitchell
On Fri, 2 Apr 2004 10:55:07 +0530 Venugopal P [EMAIL PROTECTED] wrote: Once you close the file, memory for the file handle will be deallocated. You can unlink file using the original file name. unlink (abc); On Unix systems, you may unlink a file after opening it. The directory entry for the

RE: Is this possible? (file handles)

2004-04-01 Thread Jeff Westman
, not the variable name referencing it. Please see my original post below. Thanks again, JW -Original Message- From: Jeff Westman [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 2:02 AM To: perl_help Subject: Is this possible? (file handles) Hi, I want to remove an empty file

Re: Is this possible? (file handles)

2004-04-01 Thread WC -Sx- Jones
Jeff Westman wrote: Venugopal P [EMAIL PROTECTED] wrote: Once you close the file, memory for the file handle will be deallocated. You can unlink file using the original file name. unlink (abc); This doesn't answer my question. I wanted to know if it is possible to remove a file using the FH

Is this possible? (file handles)

2004-03-31 Thread Jeff Westman
Hi, I want to remove an empty file using the file handle and not a variable name or literal name referencing it. Something like this: 1 #!/bin/perl 2 use warnings; 3 use strict; 4 no strict 'subs'; 5 6 open(F, abc) or die cant create file: $!; 7

Re: Is this possible? (file handles)

2004-03-31 Thread John W. Krahn
Jeff Westman wrote: Hi, Hello, I want to remove an empty file using the file handle and not a variable name or literal name referencing it. Something like this: 1 #!/bin/perl 2 use warnings; 3 use strict; 4 no strict 'subs'; 5 6 open(F, abc) or