Perl: the Markov chain saw | |
PerlMonks |
Re^2: Popping from method that returns a list in one lineby BillKSmith (Monsignor) |
on Aug 29, 2019 at 16:03 UTC ( [id://11105251]=note: print w/replies, xml ) | Need Help?? |
You cannot pop the return value of ->get_files because it is not an array. For an explanation of why this makes a difference, see the FAQ:
The Synopsis section of the documentation pop specifies that it requires an array.
Bill
In Section
Seekers of Perl Wisdom
|
|