Help for this page

Select Code to Download


  1. or download this
    my $current_directory = getcwd();
    try {
    ...
    } finally {
        chdir($current_directory);
    };
    
  2. or download this
    syntax error at /script.pl line 56, near "} finally "
    Execution of /script.pl aborted due to compilation errors.