I haven't posted the question, I posted the very direct link to the SO thread. Are you trying to reply to the OP with basically the same content as I did, but accidentally replying to my reply that already includes what you suggest?
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]