![]() |
|
Think about Loose Coupling | |
PerlMonks |
Re^2: Length of Array Passed as Referenceby Leudwinus (Scribe) |
on Dec 10, 2020 at 02:26 UTC ( #11124925=note: print w/replies, xml ) | Need Help?? |
Thank you as well for the very quick response! The reason I did y $ref_array = @_ was because I was passing an array reference to the subroutine but didn't make the connection between the scalar assignment (which is what I did) and list assignment (which is what I should have done). I don't think I will ever post a non-reference-related question here based on my history but I swear, I am trying!
In Section
Seekers of Perl Wisdom
|
|