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.use warnings; my $output = do { no warnings "exec"; `my_command -v` };
In reply to Re: System command & warnings
by ysth
in thread System command & warnings
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |