in reply to how do I test against each element in an array

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.

  • Comment on Re: how do I test against each element in an array