in reply to Can I catch a die from someone else's module?
You should also head off some issues by checking to see if "$upload_dir/yello$filename" even exists and is readable.local $@; my $book = eval { ReadData("$upload_dir/yello$filename") }; if ($@ or not $book) { # ... handle error }
|
|---|