in reply to Checking and verifying a unix command sent in Perl
You should be able to either look this up on google or read it in one of the perl books.
Don't be discouraged if it takes a little longer to find what you need.
In Section
Seekers of Perl Wisdom