"be consistent" | |
PerlMonks |
Re: Efficient way to verify scalar contentsby choroba (Cardinal) |
on Jun 22, 2020 at 09:17 UTC ( [id://11118354]=note: print w/replies, xml ) | Need Help?? |
Tested against the tests from Re: Efficient way to verify scalar contents (updated x3) (haukex++). Update: Or, if you want to abstract away the repeating $RE[...]
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|