My linux world » Perl – Handle Exception

Perl - Handle Exception


eval { 
  # Try something
  (...)
};
 
if($@) {
  # if failed
  (...)
}

Copyright © 2024 My linux world - by Marc RABAHI
Design by Marc RABAHI and encelades.