#close all open files? foreach $f @mystical-open-fds-arrays { close($f); }; exec( $0, @ARGV ) or die "Can't re-exec myself: $!\n";