1.

What is a die function in error handling?

Answer»

Die FUNCTION is a kind of warning that LEADS an exit call. Which means it immediately terminates the execution in case of error occurrence.

Example

CHDIR('/etc') or die "Can't change directory";



Discussion

No Comment Found