my (@md5subout, $md5subout); ... $md5subout = @foundmd5[0];
Using the same name for an array and a scalar works but is not considered a good practice since it is so confusing. You will get warnings from @foundmd5[0] since accessing an array element is a scalar and you are using '@'.
Scalar value @foundmd5[0] better written as $foundmd5[0] at ...In reply to Re^2: Unable to obtain information from array
by Lotus1
in thread Unable to obtain information from array
by Frits
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |