Re: eegads! File::Copy not copying

2003-02-17 Thread Paul
a small possibility -- -e just makes sure it exists. Try testing the size if it does. if (-f $file and -s _) { --- Patricia Hinman <[EMAIL PROTECTED]> wrote: > Everything "was" perfect in my little program. I gave > it a test run today. My file which copies some > demofiles is sending blank

Re: eegads! File::Copy not copying

2003-02-16 Thread R. Joseph Newton
Patricia Hinman wrote: > Everything "was" perfect in my little program. I gave > it a test run today. My file which copies some > demofiles is sending blank empty files. I've used -e > to make sure it exists and checked the return value on > the copy(). Both check out fine. But the files have

Re: eegads! File::Copy not copying

2003-02-16 Thread Patricia Hinman
I combed the file and found an open statement in the wrong place. Thankyou everyone for all your help. It is appreciated! __ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com -- To unsubscribe, e-mail: [E

Re: eegads! File::Copy not copying

2003-02-16 Thread Patricia Hinman
Thankyou for the advice, but it still sends blanks. Should I open up each individual file and copy it using open statements? Isn't there a switch which checks for file content. I haven't had the need to check that till now. --- Wiggins d'Anconia <[EMAIL PROTECTED]> wrote: > Precedence. > > Pat

Re: eegads! File::Copy not copying

2003-02-16 Thread Wiggins d'Anconia
Precedence. Patricia Hinman wrote: Everything "was" perfect in my little program. I gave it a test run today. My file which copies some demofiles is sending blank empty files. I've used -e to make sure it exists and checked the return value on the copy(). Both check out fine. But the files h