in reply to unicode string comparison (perl 5.26)

The problem with =$s instead of =~s has already been mentioned.

Note that | is special in regular expressions, so if you want to use it as a separator, you have to escape it.

Also, you probably meant

/[^\x00-\x7f]/
not
/[^/x00-\x7f]/

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