Case where '( shift @_ )[ 0, 0 ]' returns only one value?by rsFalse (Hermit)
|on Jan 14, 2019 at 20:58 UTC||Need Help??|
rsFalse has asked for the wisdom of the Perl Monks concerning the following question:
These two looks similar to me, but they behave different:
Seems like a bug?
My overcome was trivial:
Update. This behaviour spans some versions, as shown by stevieb in his testing: Re^4: Case where '( shift @_ )[ 0, 0 ]' returns only one value?.
Behaviour (bug) fixed between 5.18 and 5.20, more details --> https://rt.perl.org/Public/Bug/Display.html?id=133769#txn-1606556