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

no "Thanks to LanX, who ..." ? :´(

;-P

Thanks!!!

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

PS: Seriously, link to PM-thread is always a good idea.

  • Comment on Re^5: shift on empty array in list context broken

Replies are listed 'Best First'.
Re^6: shift on empty array in list context broken
by choroba (Cardinal) on Jul 23, 2019 at 16:08 UTC
    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]