Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Length of Array Passed as Referenceby jwkrahn (Abbot) |
on Dec 10, 2020 at 01:57 UTC ( [id://11124920]=note: print w/replies, xml ) | Need Help?? |
Change:
To:
You are assigning the length of @_ to $ref_array, not the first element.
In Section
Seekers of Perl Wisdom
|
|