vincebrown
Technical User
Hi everyone. I'm trying to use the die function to throw an error when an inputted path is wrong, however it's not throwing anything. Can anyone tell me if the line of code below is correct:
open FILE, "$file" || die "Can't open: $! \n";
Thanks.
open FILE, "$file" || die "Can't open: $! \n";
Thanks.