in reply to Re^3: basic openssh connectivity
in thread basic openssh connectivity

An array can't be "not defined", it's just empty.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^5: basic openssh connectivity
by 1nickt (Canon) on Jul 26, 2019 at 15:17 UTC

    Yes. What I meant was that I did not expect the scalar $10 to have been defined and thus that the array would not exist.

    $ perl -Mstrict -E 'say $10 ? 1 : 0; say "foo@10bar"' 0 foobar


    The way forward always starts with a minimal test.