in reply to Re^15: Reusing a complex regexp in multiple spots, escaping the regexp
in thread Reusing a complex regexp in multiple spots, escaping the regexp

Thanks!

Please, how can I reproduce this?

There are multiple threaded Perl models.

I never wrote threaded Perl¹, so please explain

And as follow ups

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

Footnotes

°) updated

¹) I suppose only a tiny minority ever did.

  • Comment on Re^16: Reusing a complex regexp in multiple spots, escaping the regexp

Replies are listed 'Best First'.
Re^17: Reusing a complex regexp in multiple spots, escaping the regexp
by choroba (Cardinal) on Apr 17, 2026 at 13:30 UTC
    I think "threaded perl" means an interpreter compiled with -Dusethreads. It changes the output regardless of whether you use threads in the code or not.

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