To get the results from a command, you should look at the back-quotes (`cmd`) or qx() operators. Both are documented in perlop.
Originally posted as a Categorized Answer.
In reply to Re: how do I test against each element in an array
by davorg
in thread how do I test against each element in an array
by dallok
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |