in reply to Re^2: Spotting an empty array as argument
in thread Spotting an empty array as argument

> I think you are confusing @ with \@.

No, I mean what you can try by uncommenting the last line.

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

Replies are listed 'Best First'.
Re^4: Spotting an empty array as argument
by LanX (Saint) on Mar 25, 2021 at 22:25 UTC
    Oh, I see.

    I just experimented with the newer prototypes like + and _ but it's still a PITA. :/

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery