in reply to Re: well-spaced JAPH
in thread well-spaced JAPH

I guess this is pre-5.8, so out of my interest :-)

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

Replies are listed 'Best First'.
Re^3: well-spaced JAPH
by hippo (Archbishop) on Oct 14, 2022 at 09:40 UTC

    Just tested on 5.8.8 and it works there.

    Update: Also on 5.10.1. Even works on 5.16 albeit with the warning Array @a missing the @ in argument 1 of push() at -e line 1.


    🦛

      OK, I'll try to find time to play with Syntax::Construct to recognise it.
      map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
      GitHub Actions showed me it was actually removed in 5.22 (they failed with 5.18 and 5.20).

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