Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The code itself (line 418) is:Uncaught exception from user code: Can't open('LOC_TMPFILE', 'C:\UBackupTemp\zzip_backuptmp.zip'): No + such file or directory at \\martins\SAMSUNG-HD103SI-01\Backup\UBacku +p\ubackup.pl line 418 at (eval 38) line 74 main::__ANON__('LOC_TMPFILE', 'C:\UBackupTemp\zzip_backuptmp.zip') + called at \\martins\SAMSUNG-HD103SI-01\Backup\UBackup\ubackup.pl lin +e 418
It doesn't look like the exception handling is working! Any help as to why would be gratefully received??# Open our temp zip file open(LOC_TMPFILE, BACKUP_LOCAL_DIR().BACKUP_TMP_ZIP()) or die("Error reading file, stopped: ".$!);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: open or die..
by Anonymous Monk on Feb 14, 2015 at 20:48 UTC | |
by Anonymous Monk on Feb 14, 2015 at 21:14 UTC | |
|
Re: open or die..
by Corion (Patriarch) on Feb 14, 2015 at 19:43 UTC | |
by Laurent_R (Canon) on Feb 15, 2015 at 11:57 UTC | |
by Corion (Patriarch) on Feb 15, 2015 at 11:58 UTC |