Test2::Util(3p) Perl Programmers Reference Guide Test2::Util(3p)
Test2::Util(3p) Perl Programmers Reference Guide Test2::Util(3p) # Test2::Util(3p) Perl Programmers Reference Guide Test2::Util(3p) NNAAMMEE # Test2::Util - Tools used by Test2 and friends. DDEESSCCRRIIPPTTIIOONN # Collection of tools used by Test2 and friends. EEXXPPOORRTTSS # All exports are optional. You must specify subs to import. ($success, $error) = try { ... } Eval the codeblock, return success or failure, and the error message. This code protects $@ and $!, they will be restored by the end of the run. ...