in reply to Re^7: printing unitialized value of the 'do BLOCK'
in thread printing unitialized value of the 'do BLOCK'

I'm getting [1][1] from the above code. What version of perl do you run?
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^9: printing unitialized value of the 'do BLOCK'
by ikegami (Patriarch) on Dec 19, 2019 at 17:46 UTC
    $ for v in 30 28 26 24 22 20 18 16 14 12 10; do printf '5.%s: ' $v 5.${v}t/bin/perl a.pl done 5.30: [1][1] 5.28: -bash: 5.28t/bin/perl: No such file or directory 5.26: [1][1] 5.24: [1][1] 5.22: [1][] 5.20: [1][] 5.18: [1][] 5.16: [1][] 5.14: [1][] 5.12: [1][] 5.10: [1][]

    I think it's an unintentional change that resulted from fixing this.