in reply to Doing more than printing "File Not Found" with a die command
If open fails, it will return the undefined value at which point the whatever is on the right side of the "or" will be evaluated.open( ARCHIVE1, ">>/directory/myfile") or mySpecificSubroutine();
|
|---|