> I'm not sure $? is useful to you since you're using copy
> from File::Copy, not system "copy" or `copy`. Suggest checking
> paths, and whether the copy *actually* took place.
I suppose so. For the last 10 months $? worked just fine, but *something* happened last night. Funny thing is, the copy did seem to work so I'm not sure why it returned non-zero. Ah well, I guess I will change it to something like copy("$tftpdir/$file","$backupdir/$device/${year}${month}${day}.cfg") or warn "Can\'t be done: $!\n"; I do want to be able to things only on success, though.
Still curious if there is a method withing File::Copy to test for success or failure and/or an exported var that gives this info.
Thanks all.