in reply to System command & warnings

use warnings; my $output = do { no warnings "exec"; `my_command -v` };
Caveat: I've had funky stuff happen sometimes combining "no warnings" with -w; haven't gotten around to tracking it down yet, but I'd recommend useing "use warnings" rather than -w.