in reply to Re^2: shift on empty array in list context broken
in thread shift on empty array in list context broken

That should be fixed. Feel free to use perlbug to submit a bug report. Please include a suggested fix.

Replies are listed 'Best First'.
Re^4: shift on empty array in list context broken
by choroba (Cardinal) on Jul 23, 2019 at 15:55 UTC
    Reported without a precise suggestion to fix.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
        I created the whole code myself, as I found the thread rather confusing. YMMV.

        map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]