in reply to Re^2: writing to a file when using diamond operator
in thread writing to a file when using diamond operator

Of course, you're right. Sorry for the confusion.

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

Replies are listed 'Best First'.
Re^4: writing to a file when using diamond operator
by paschacroutt (Acolyte) on May 03, 2024 at 16:08 UTC

    Hm… With this construct I sense that I won't be able to forge the output file name from the content of the input file.

      You can always rename the file later.

      map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
        Thank you ! Cool ! Will try that asap.