in reply to Re: Unable to obtain information from array
in thread Unable to obtain information from array
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 ...
|
|---|