RE: Checking to see if file exists.
- From: shawnhcorey@xxxxxxxx (Mr. Shawn H. Corey)
- Date: Tue, 29 Jul 2008 22:56:47 -0400
On Tue, 2008-07-29 at 19:49 -0700, tvadnais wrote:
Oops, thank you for catching that... I haven't gotten that far in my
debugging.
Unfortunately, my problem was with the "if (-e $filename)" always returning
false. In the code I'm testing, I have the pgp commented out, because I
can't actually unencrypt the files because pgp can only be run by root.
If you have part of the code commented out, are you sure it is doing
what you think it's doing? Run thru the debugger again and immediately
after the fail switch to another terminal and check to see if the file
really does exists.
--
Just my 0.00000002 million dollars worth,
Shawn
"Where there's duct tape, there's hope."
"Perl is the duct tape of the Internet."
Hassan Schroeder, Sun's first webmaster
.
- References:
- Checking to see if file exists.
- From: Tvadnais
- Re: Checking to see if file exists.
- From: Kenneth Wolcott
- RE: Checking to see if file exists.
- From: Tvadnais
- RE: Checking to see if file exists.
- From: Tvadnais
- RE: Checking to see if file exists.
- From: Mr. Shawn H. Corey
- RE: Checking to see if file exists.
- From: Tvadnais
- Checking to see if file exists.
- Prev by Date: RE: Checking to see if file exists.
- Next by Date: Re: getting process id under NT
- Previous by thread: RE: Checking to see if file exists.
- Next by thread: Re: Checking to see if file exists.
- Index(es):
Relevant Pages
|