Why are you doing print `$command`?! That's pretty silly; why capture the output instead of letting it print, and then do nothing but print it?
To hide the warnings, why not simply redirect STDERR to null? Or alternatively, redirect STDOUT to a file and save the data directly.
PS: "0 down vote favorite"? Good way to collect some downvotes for trying to tell people how to vote.
In reply to Re: perl suppressing warnings when executing java class
by Anonymous Monk
in thread perl suppressing warnings when executing java class
by sandeepda
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |