in reply to Re^2: cgi redirectin thread cgi redirect
use Capture::Tiny qw/ capture /; my($stdout, $stderr, $exit) = capture { system( 'rm', '-rf', @paths ); }; [download]