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";

Suggest An Answer

No suggestions avaliable!